Interface

RemotePageIndicatorState

An interface for connection between Pager and remote page indicators.

Source set: Android
public interface RemotePageIndicatorState

An interface for connection between Pager and remote page indicators.

Properties

pageCount

Source set: Android
@get:IntRange(from = 0) public val pageCount: Int

Total number of pages.

selectedPage

Source set: Android
public val selectedPage: RemoteInt

The currently selected page index.

pageOffset

Source set: Android
public val pageOffset: RemoteFloat

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

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: