DynamicNavGraphBuilder

@NavDestinationDsl public final class DynamicNavGraphBuilder extends NavDestinationBuilder, NavGraphBuilder

Object
   ↳ NavDestinationBuilder
     ↳ NavGraphBuilder
       ↳ DynamicNavGraphBuilder

DSL for constructing a new DynamicGraphNavigator.DynamicNavGraph

Summary

Public fields

final @Nullable String

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

final int

ID of the destination displayed during module installation.

final @Nullable String

Route of the destination displayed during module installation.

Public constructors

DynamicNavGraphBuilder(
    @NonNull NavigatorProvider provider,
    @IdRes int id,
    @IdRes int startDestination
)
DynamicNavGraphBuilder(
    @NonNull NavigatorProvider provider,
    @NonNull String startDestination,
    @Nullable String route
)

Public methods

@NonNull NavGraph

Extension functions

final void

This method is deprecated. Use routes to build your DynamicActivityDestination instead

final void

Construct a new DynamicActivityNavigator.Destination

final void

This method is deprecated. Use routes to create your DynamicFragmentDestination instead

final void

This method is deprecated. Use routes to create your DynamicFragmentDestination instead

final void
DynamicFragmentNavigatorDestinationBuilderKt.fragment(
    @NonNull DynamicNavGraphBuilder receiver,
    @IdRes int id,
    @NonNull String fragmentClassName,
    @NonNull Function1<@NonNull DynamicFragmentNavigatorDestinationBuilderUnit> builder
)

This method is deprecated. Use routes to create your DynamicFragmentDestination instead

final void

Construct a new DynamicFragmentNavigator.Destination

final void

Construct a new DynamicFragmentNavigator.Destination

final void

Construct a new DynamicFragmentNavigator.Destination