Google is committed to advancing racial equity for Black communities. See how.

DynamicNavGraphBuilder

class DynamicNavGraphBuilder : NavGraphBuilder
kotlin.Any
   ↳ androidx.navigation.NavDestinationBuilder<androidx.navigation.NavGraph>
   ↳ androidx.navigation.NavGraphBuilder
   ↳ androidx.navigation.dynamicfeatures.DynamicNavGraphBuilder

DSL for constructing a new DynamicGraphNavigator.DynamicNavGraph

Summary

Public constructors
<init>(provider: NavigatorProvider, @IdRes id: Int, @IdRes startDestination: Int)

DSL for constructing a new DynamicGraphNavigator.DynamicNavGraph

Public methods
NavGraph

Inherited functions
Extension functions
From androidx.navigation.dynamicfeatures
Unit

Construct a new DynamicActivityNavigator.Destination

Unit
DynamicNavGraphBuilder.includeDynamic(@IdRes id: Int, moduleName: String, graphResourceName: String)

Construct a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph.

Unit
DynamicNavGraphBuilder.includeDynamic(@IdRes id: Int, moduleName: String, graphResourceName: String, builder: DynamicIncludeNavGraphBuilder.() -> Unit)

Construct a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph.

Unit
DynamicNavGraphBuilder.navigation(@IdRes id: Int, @IdRes startDestination: Int, builder: DynamicNavGraphBuilder.() -> Unit)

Construct a nested DynamicGraphNavigator.DynamicNavGraph

From androidx.navigation.dynamicfeatures.fragment
Unit

Construct a new DynamicFragmentNavigator.Destination

Unit

Construct a new DynamicFragmentNavigator.Destination

Unit
DynamicNavGraphBuilder.fragment(@IdRes id: Int, fragmentClassName: String, builder: DynamicFragmentNavigatorDestinationBuilder.() -> Unit)

Construct a new DynamicFragmentNavigator.Destination

Inherited extension functions
From androidx.navigation
Unit

Construct a new ActivityNavigator.Destination

Unit
NavGraphBuilder.navigation(@IdRes id: Int, @IdRes startDestination: Int, builder: NavGraphBuilder.() -> Unit)

Construct a nested NavGraph

From androidx.navigation.compose
Unit
NavGraphBuilder.composable(route: String, arguments: List<NamedNavArgument> = emptyList(), deepLinks: List<NavDeepLink> = emptyList(), content: (NavBackStackEntry) -> Unit)

Add the Composable to the NavGraphBuilder

Unit
NavGraphBuilder.navigation(startDestination: String, route: String, builder: NavGraphBuilder.() -> Unit)

Construct a nested NavGraph

From androidx.navigation.fragment
Unit