NavDestinationBuilder

@NavDestinationDsl public class NavDestinationBuilder<D extends NavDestination>

Known indirect subclasses

DSL for constructing a new NavDestination

Summary

Public fields

final int

The destination's unique ID.

final CharSequence

The descriptive label of the destination

final String

The destination's unique route.

Public constructors

<D extends NavDestination> NavDestinationBuilder(
    Navigator<D> navigator,
    @IdRes int id
)

DSL for constructing a new NavDestination with a unique id.

<D extends NavDestination> NavDestinationBuilder(
    Navigator<D> navigator,
    String route
)

DSL for constructing a new NavDestination with a unique route.