RotaryScrollAdapter

An adapter which connects scrollableState to Rotary

Inheritors

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard
abstract fun averageItemSize(): Float

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

Link copied to clipboard
abstract fun currentItemIndex(): Int

A current item index. Used for scrolling

Link copied to clipboard
abstract fun currentItemOffset(): Float

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

Link copied to clipboard
abstract fun totalItemsCount(): Int

The total count of items in scrollableState