接口 WheelScroller.ScrollingListener

  • 封闭类:
    WheelScroller

    public static interface WheelScroller.ScrollingListener
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void onFinished()
      Finishing callback called after justifying
      void onJustify()
      Justifying callback called to justify a view when scrolling is ended
      void onScroll​(int distance)
      Scrolling callback called when scrolling is performed.
      void onStarted()
      Starting callback called when scrolling is started
    • 方法详细资料

      • onScroll

        void onScroll​(int distance)
        Scrolling callback called when scrolling is performed.
        参数:
        distance - the distance to scroll
      • onStarted

        void onStarted()
        Starting callback called when scrolling is started
      • onFinished

        void onFinished()
        Finishing callback called after justifying
      • onJustify

        void onJustify()
        Justifying callback called to justify a view when scrolling is ended