NavGraphBuilderKt

public final class NavGraphBuilderKt


Summary

Public methods

static final void
NavGraphBuilderKt.composable(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route,
    @NonNull List<@NonNull NamedNavArgument> arguments,
    @NonNull List<@NonNull NavDeepLink> deepLinks,
    @NonNull Function1<@NonNull NavBackStackEntryUnit> content
)

Add the Composable to the NavGraphBuilder

Public methods

NavGraphBuilderKt.composable

@NonNull
public static final void NavGraphBuilderKt.composable(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route,
    @NonNull List<@NonNull NamedNavArgument> arguments,
    @NonNull List<@NonNull NavDeepLink> deepLinks,
    @NonNull Function1<@NonNull NavBackStackEntryUnit> content
)

Add the Composable to the NavGraphBuilder

Parameters
@NonNull String route

route for the destination

@NonNull List<@NonNull NamedNavArgument> arguments

list of arguments to associate with destination

@NonNull List<@NonNull NavDeepLink> deepLinks

list of deep links to associate with the destinations

@NonNull Function1<@NonNull NavBackStackEntryUnit> content

composable for the destination