Composable Function

RemoteHorizontalPageIndicator

A horizontal page indicator curved along the bottom edge of the screen.

RemoteHorizontalPageIndicatorSample

@Sampled
@Composable
@WearPreviewDevices
@PreviewWrapper(RemoteComponentPreviewWrapper::class)
fun RemoteHorizontalPageIndicatorSample(modifier: RemoteModifier = RemoteModifier) {
    val state = rememberRemotePageIndicatorState(selectedPage = 1.ri, pageCount = 3)
    RemoteHorizontalPageIndicator(state = state, modifier = modifier)
}
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: