FragmentNavigatorDestinationBuilderKt

public final class FragmentNavigatorDestinationBuilderKt


Summary

Public methods

static final void
<F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    @IdRes int id
)

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

static final void

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

static final void
<F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    String route
)

Construct a new FragmentNavigator.Destination

static final void

Construct a new FragmentNavigator.Destination

Public methods

FragmentNavigatorDestinationBuilderKt.fragment

public static final void <F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    @IdRes int id
)

Construct a new FragmentNavigator.Destination

Parameters
@IdRes int id

the destination's unique id

FragmentNavigatorDestinationBuilderKt.fragment

public static final void <F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    @IdRes int id,
    @ExtensionFunctionType Function1<FragmentNavigatorDestinationBuilderUnit> builder
)

Construct a new FragmentNavigator.Destination

Parameters
@IdRes int id

the destination's unique id

@ExtensionFunctionType Function1<FragmentNavigatorDestinationBuilderUnit> builder

the builder used to construct the fragment destination

FragmentNavigatorDestinationBuilderKt.fragment

public static final void <F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    String route
)

Construct a new FragmentNavigator.Destination

Parameters
String route

the destination's unique route

FragmentNavigatorDestinationBuilderKt.fragment

public static final void <F extends Fragment> FragmentNavigatorDestinationBuilderKt.fragment(
    NavGraphBuilder receiver,
    String route,
    @ExtensionFunctionType Function1<FragmentNavigatorDestinationBuilderUnit> builder
)

Construct a new FragmentNavigator.Destination

Parameters
String route

the destination's unique route

@ExtensionFunctionType Function1<FragmentNavigatorDestinationBuilderUnit> builder

the builder used to construct the fragment destination