Source set: Android
public interface PageIndicatorState
An interface for connection between Pager and HorizontalPageIndicator.
Properties
pageOffset
Source set: Android
public val pageOffset: Float
The current offset from the start of selectedPage, as a ratio of the page width.
Changes when a scroll (drag, swipe or fling) between pages happens in Pager.
selectedPage
Source set: Android
public val selectedPage: Int
The currently selected page index
pageCount
Source set: Android
public val pageCount: Int
Total number of pages