RemotePageIndicatorState

interface RemotePageIndicatorState


An interface for connection between Pager and remote page indicators.

Summary

Public properties

Int

Total number of pages.

RemoteFloat

The current offset from the start of the selected page, as a ratio of the page width.

RemoteInt

The currently selected page index.

Public properties

pageCount

Added in 1.0.0-alpha12
val pageCount: Int

Total number of pages.

pageOffset

Added in 1.0.0-alpha12
val pageOffset: RemoteFloat

The current offset from the start of the selected page, as a ratio of the page width.

selectedPage

Added in 1.0.0-alpha12
val selectedPage: RemoteInt

The currently selected page index.