androidWheelView icon indicating copy to clipboard operation
androidWheelView copied to clipboard

仿照iOS的滚轮控件,从请吃饭apk反编译出来的

Results 20 androidWheelView issues
Sort by recently updated
recently updated
newest added

1 初始数据为空 添加了awv_lineSpace 位置异常 2 想要根据位置设备透明 越离开外面 透明度高

主要属性设置 ```xml app:awv_itemsVisibleCount="7" app:awv_lineSpace="1.5" app:awv_textsize="17" ``` 当数据只有2条时(3条以上正常)preCurrentIndex计算有误 onDraw方法 ```java change = (int) (totalScrollY / (lineSpacingMultiplier * itemTextHeight)); preCurrentIndex = initPosition + change % items.size(); ``` 其中,totalScrollY为133,lineSpacingMultiplier为1.5 ,itemTextHeight为89,此时change计算结果为0,preCurrentIndex结果异常

设置了没多大作用,设置过小,item太大

错误信息: 07-13 10:52:02.907 16432-16432/io.dcloud.H53E50BCA E/InputEventReceiver: Exception dispatching input event. 07-13 10:52:02.907 16432-16432/io.dcloud.H53E50BCA E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback 07-13 10:52:02.909 16432-16432/io.dcloud.H53E50BCA E/MessageQueue-JNI: java.lang.IllegalArgumentException: pointerIndex out of range at android.view.MotionEvent.nativeGetAxisValue(Native Method)...