Google se compromete a impulsar la igualdad racial para las comunidades afrodescendientes. Obtén información al respecto.

DynamicIncludeGraphNavigator

class DynamicIncludeGraphNavigator : Navigator<DynamicIncludeGraphNavigator.DynamicIncludeNavGraph>
kotlin.Any
   ↳ androidx.navigation.Navigator<androidx.navigation.dynamicfeatures.DynamicIncludeGraphNavigator.DynamicIncludeNavGraph>
   ↳ androidx.navigation.dynamicfeatures.DynamicIncludeGraphNavigator

Navigator for include-dynamic.

Use it for navigating to NavGraphs contained within a dynamic feature module.

Summary

Nested classes

The graph for dynamic-include.

Public constructors
<init>(context: Context, navigatorProvider: NavigatorProvider, navInflater: NavInflater, installManager: DynamicInstallManager)

Navigator for include-dynamic.

Public methods
DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

NavDestination?
navigate(destination: DynamicIncludeGraphNavigator.DynamicIncludeNavGraph, args: Bundle?, navOptions: NavOptions?, navigatorExtras: Navigator.Extras?)

Unit
onRestoreState(savedState: Bundle)

Bundle?

Boolean

Properties
String

Public constructors

<init>

DynamicIncludeGraphNavigator(
    context: Context,
    navigatorProvider: NavigatorProvider,
    navInflater: NavInflater,
    installManager: DynamicInstallManager)

Navigator for include-dynamic.

Use it for navigating to NavGraphs contained within a dynamic feature module.

Public methods

createDestination

fun createDestination(): DynamicIncludeGraphNavigator.DynamicIncludeNavGraph
fun navigate(
    destination: DynamicIncludeGraphNavigator.DynamicIncludeNavGraph,
    args: Bundle?,
    navOptions: NavOptions?,
    navigatorExtras: Navigator.Extras?
): NavDestination?
Exceptions
Resources.NotFoundException if the destination does not have a valid graphResourceName and graphPackage.
IllegalStateException if the destination does not have a parent.

onRestoreState

fun onRestoreState(savedState: Bundle): Unit

onSaveState

fun onSaveState(): Bundle?

popBackStack

fun popBackStack(): Boolean

Properties

packageName

val packageName: String