O Google tem o compromisso de promover a igualdade racial para as comunidades negras. Saiba como.

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

Construct a new DialogFragmentNavigator.Destination

Unit

Construct a new DialogFragmentNavigator.Destination

Unit

Construct a new FragmentNavigator.Destination

Properties
String?

The module name of this Destination's dynamic feature module.

Int

ID of the destination displayed during module installation.

Inherited properties

Public constructors

<init>

DynamicNavGraphBuilder(
    provider: NavigatorProvider,
    @IdRes id: Int,
    @IdRes startDestination: Int)

DSL for constructing a new DynamicGraphNavigator.DynamicNavGraph

Parameters
provider: NavigatorProvider NavigatorProvider to use.
id: Int NavGraph id.
startDestination: Int Id start destination in the graph

Public methods

build

fun build(): NavGraph
Return
The DynamicGraphNavigator.DynamicNavGraph.

Properties

moduleName

var moduleName: String?

The module name of this Destination's dynamic feature module. This has to be the same as defined in the dynamic feature module's AndroidManifest.xml file.

progressDestination

var progressDestination: Int

ID of the destination displayed during module installation. This generally does not need to be set, but is instead filled in by the NavHost via DynamicGraphNavigator.installDefaultProgressDestination.