diff --git a/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java b/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java index 8875489..84bb54e 100644 --- a/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java +++ b/WheelViewLib/src/main/java/com/lukedeighton/wheelview/WheelView.java @@ -1224,7 +1224,7 @@ private void updateWheelStateIfReq() { protected void onDraw(Canvas canvas) { updateWheelStateIfReq(); - if (mWheelDrawable != null) { + if (mWheelDrawable != null && mWheelBounds != null) { drawWheel(canvas); }