java.lang.IndexOutOfBoundsException: Invalid index 1, size is 1 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) at java.util.ArrayList.get(ArrayList.java:308) at com.bigkoo.pickerview.view.WheelOptions$1.onItemSelected(WheelOptions.java:110) at com.contrarywind.view.WheelView$1.run(WheelView.java:351) at android.os.Handler.handleCallback(Handler.java:733) W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
1条答案
按热度按时间sbdsn5lh1#
@zhengxiaochuan 添加数据的时候需校验item数据是否为null。