Class

WearNavigator

Navigator that navigates through Composables.

Source set: Android
public class WearNavigator : Navigator<WearNavigator.Destination>()

Navigator that navigates through Composables. Every destination using this Navigator must set a valid Composable by setting it directly on an instantiated Destination or calling composable.

Functions

Source set: Android
override fun navigate(
        entries: List<NavBackStackEntry>,
        navOptions: NavOptions?,
        navigatorExtras: Extras?,
    )

createDestination

Source set: Android
override fun createDestination(): Destination

popBackStack

Source set: Android
override fun popBackStack(popUpTo: NavBackStackEntry, savedState: Boolean)

Members

Destination

Source set: Android
public class Destination(
        navigator: WearNavigator,
        internal val content: @Composable (NavBackStackEntry) -> Unit,
    ) : NavDestination(navigator)

NavDestination specific to WearNavigator

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: