ActivityNavigatorDestinationBuilder

@NavDestinationDsl public final class ActivityNavigatorDestinationBuilder extends NavDestinationBuilder


DSL for constructing a new ActivityNavigator.Destination

Summary

Public constructors

ActivityNavigatorDestinationBuilder(
    ActivityNavigator navigator,
    @IdRes int id
)

Public methods

@NonNull ActivityNavigator.Destination

Build the NavDestination by calling Navigator.createDestination.

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