DynamicNavGraph

class DynamicNavGraph : NavGraph
kotlin.Any
   ↳ androidx.navigation.NavDestination
   ↳ androidx.navigation.NavGraph
   ↳ androidx.navigation.dynamicfeatures.DynamicGraphNavigator.DynamicNavGraph

The NavGraph for dynamic features.

Summary

Public constructors
<init>(navGraphNavigator: DynamicGraphNavigator, navigatorProvider: NavigatorProvider)

The NavGraph for dynamic features.

Public methods
Unit
onInflate(context: Context, attrs: AttributeSet)

Inherited functions
Properties
String?

The dynamic feature's module name.

Int

Resource id of progress destination.

Public constructors

<init>

DynamicNavGraph(
    navGraphNavigator: DynamicGraphNavigator,
    navigatorProvider: NavigatorProvider)

The NavGraph for dynamic features.

Public methods

onInflate

fun onInflate(
    context: Context,
    attrs: AttributeSet
): Unit

Properties

moduleName

var moduleName: String?

The dynamic feature's module name.

progressDestination

var progressDestination: Int

Resource id of progress destination. This will be preferred over any default progress destination set by installDefaultProgressDestination.