Destination

class Destination : ActivityNavigator.Destination
kotlin.Any
   ↳ androidx.navigation.NavDestination
   ↳ androidx.navigation.ActivityNavigator.Destination
   ↳ androidx.navigation.dynamicfeatures.DynamicActivityNavigator.Destination

Destination for DynamicActivityNavigator.

Summary

Public constructors

<init>(navigatorProvider: NavigatorProvider)

Create a new Destination with a NavigatorProvider.

Create a new Destination with an ActivityNavigator.Destination.

Public methods

Unit
onInflate(context: Context, attrs: AttributeSet)

Inherited functions

Properties

String?

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

Public constructors

<init>

Destination(navigatorProvider: NavigatorProvider)

Create a new Destination with a NavigatorProvider.

<init>

Destination(activityNavigator: Navigator<out ActivityNavigator.Destination>)

Create a new Destination with an ActivityNavigator.Destination.

Parameters
activityNavigator: Navigator<out ActivityNavigator.Destination> The Navigator to use for this Destination.

Public methods

onInflate

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

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.