rememberRemotePageIndicatorState
Source set: Android
@Composable
public fun rememberRemotePageIndicatorState(
pageCount: Int,
selectedPage: RemoteInt = 0.ri,
pageOffset: RemoteFloat = 0f.rf,
): RemotePageIndicatorState
Creates and remembers a RemotePageIndicatorState.
Parameters
| selectedPage | The currently selected page index. |
| pageCount | Total number of pages. |
| pageOffset | The current offset from the start of the selected page, as a ratio of the page width. |