Package 

Interface WheelPicker.OnItemSelectedListener

    • Method Summary

      Modifier and Type Method Description
      abstract Unit onItemSelected(WheelPicker picker, Object data, Integer position) 当滚轮选择器数据项被选中时回调该方法 滚动选择器滚动停止后会回调该方法并将当前选中的数据和数据在数据列表中对应的位置返回
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onItemSelected

         abstract Unit onItemSelected(WheelPicker picker, Object data, Integer position)

        当滚轮选择器数据项被选中时回调该方法 滚动选择器滚动停止后会回调该方法并将当前选中的数据和数据在数据列表中对应的位置返回

        Parameters:
        picker - 滚轮选择器
        data - 当前选中的数据
        position - 当前选中的数据在数据列表中的位置