Package-level declarations
Types
Link copied to clipboard
class WearComposeNavigatorDestinationBuilder(val wearNavigator: WearNavigator, route: KClass<*>, typeMap: Map<KType, @JvmSuppressWildcards NavType<*>>, content: @Composable (NavBackStackEntry) -> Unit) : NavDestinationBuilder<WearNavigator.Destination>
Functions
Link copied to clipboard
inline fun <T : Any> NavGraphBuilder.composable(typeMap: Map<KType, @JvmSuppressWildcards NavType<*>> = emptyMap(), deepLinks: List<NavDeepLink> = emptyList(), noinline content: @Composable (NavBackStackEntry) -> Unit)
Add the Composable to the NavGraphBuilder.
Link copied to clipboard
fun SwipeDismissableNavHost(navController: NavHostController, startDestination: Any, modifier: Modifier = Modifier, userSwipeEnabled: Boolean = true, state: SwipeDismissableNavHostState = rememberSwipeDismissableNavHostState(), route: KClass<*>? = null, builder: NavGraphBuilder.() -> Unit)
Provides a place in the Compose hierarchy for self-contained navigation to occur, with backwards navigation provided by a swipe gesture.