接口 OnWheelChangedListener


  • public interface OnWheelChangedListener
    Wheel changed listener interface. The onChanged() method is called whenever current wheel positions is changed: New Wheel position is set Wheel view is scrolled
    • 方法详细资料

      • onChanged

        void onChanged​(WheelView wheel,
                       int oldValue,
                       int newValue)
        Callback method to be invoked when current item changed
        参数:
        wheel - the wheel view whose state has changed
        oldValue - the old value of current item
        newValue - the new value of current item