DynamicNavGraphBuilderKt

public final class DynamicNavGraphBuilderKt


Summary

Public methods

static final @NonNull NavGraph
DynamicNavGraphBuilderKt.navigation(
    NavigatorProvider receiver,
    @IdRes int id,
    @IdRes int startDestination,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

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

static final void
DynamicNavGraphBuilderKt.navigation(
    DynamicNavGraphBuilder receiver,
    @IdRes int id,
    @IdRes int startDestination,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

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

static final @NonNull NavGraph
DynamicNavGraphBuilderKt.navigation(
    NavigatorProvider receiver,
    String startDestination,
    String route,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a new DynamicGraphNavigator.DynamicNavGraph

static final void
DynamicNavGraphBuilderKt.navigation(
    DynamicNavGraphBuilder receiver,
    String startDestination,
    String route,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a nested DynamicGraphNavigator.DynamicNavGraph

Public methods

DynamicNavGraphBuilderKt.navigation

public static final @NonNull NavGraph DynamicNavGraphBuilderKt.navigation(
    NavigatorProvider receiver,
    @IdRes int id,
    @IdRes int startDestination,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a new DynamicGraphNavigator.DynamicNavGraph

Parameters
@IdRes int id

NavGraph id.

@IdRes int startDestination

Id start destination in the graph

@ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder

Another builder for chaining.

DynamicNavGraphBuilderKt.navigation

public static final void DynamicNavGraphBuilderKt.navigation(
    DynamicNavGraphBuilder receiver,
    @IdRes int id,
    @IdRes int startDestination,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a nested DynamicGraphNavigator.DynamicNavGraph

Parameters
@IdRes int id

NavGraph id.

@IdRes int startDestination

Id start destination in the graph

@ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder

Another builder for chaining.

DynamicNavGraphBuilderKt.navigation

public static final @NonNull NavGraph DynamicNavGraphBuilderKt.navigation(
    NavigatorProvider receiver,
    String startDestination,
    String route,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a new DynamicGraphNavigator.DynamicNavGraph

Parameters
String startDestination

route start destination in the graph

String route

NavGraph route.

@ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder

Another builder for chaining.

DynamicNavGraphBuilderKt.navigation

public static final void DynamicNavGraphBuilderKt.navigation(
    DynamicNavGraphBuilder receiver,
    String startDestination,
    String route,
    @ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder
)

Construct a nested DynamicGraphNavigator.DynamicNavGraph

Parameters
String startDestination

route start destination in the graph

String route

NavGraph route.

@ExtensionFunctionType Function1<DynamicNavGraphBuilderUnit> builder

Another builder for chaining.