Package 

Interface RotaryScrollAdapter

    • Method Summary

      Modifier and Type Method Description
      abstract Float averageItemSize() Average size of an item.
      abstract Integer currentItemIndex() A current item index.
      abstract Float currentItemOffset() An offset from the centre or the border of the current item.
      abstract ScrollableState getScrollableState() A scrollable state.
      • Methods inherited from class java.lang.Object

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

      • averageItemSize

         abstract Float averageItemSize()

        Average size of an item. Used for estimating the scrollable distance

      • currentItemOffset

         abstract Float currentItemOffset()

        An offset from the centre or the border of the current item.

      • getScrollableState

         abstract ScrollableState getScrollableState()

        A scrollable state. Used for performing scroll when Rotary events received