DynamicIncludeNavGraphBuilder

@NavDestinationDsl public final class DynamicIncludeNavGraphBuilder extends NavDestinationBuilder


DSL for constructing a new DynamicIncludeGraphNavigator.DynamicIncludeNavGraph

Summary

Public fields

final String

Destination NavGraph's resource package as defined in the module's AndroidManifest.

Public constructors

DynamicIncludeNavGraphBuilder(
    DynamicIncludeGraphNavigator dynamicIncludeGraphNavigator,
    @IdRes int id,
    String moduleName,
    String graphResourceName
)
DynamicIncludeNavGraphBuilder(
    DynamicIncludeGraphNavigator dynamicIncludeGraphNavigator,
    String route,
    String moduleName,
    String graphResourceName
)

Inherited methods

From class NavDestinationBuilder
final void
action(
    int actionId,
    @ExtensionFunctionType Function1<NavActionBuilderUnit> actionBuilder
)

This method is deprecated. Building NavDestinations using IDs with the Kotlin DSL has been deprecated in favor of using routes.

final void
argument(
    String name,
    @ExtensionFunctionType Function1<NavArgumentBuilderUnit> argumentBuilder
)

Add a NavArgument to this destination.

final void
deepLink(
    @ExtensionFunctionType Function1<NavDeepLinkDslBuilderUnit> navDeepLink
)

Add a deep link to this destination.

final void
deepLink(String uriPattern)

Add a deep link to this destination.

Public fields

graphPackage