DialogFragmentNavigatorDestinationBuilderKt

public final class DialogFragmentNavigatorDestinationBuilderKt


Summary

Public methods

static final void
<F extends DialogFragment> dialog(@NonNull NavGraphBuilder receiver, @IdRes int id)

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

static final void
<F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @IdRes int id,
    @NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder
)

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

static final void
<F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route
)

Construct a new DialogFragmentNavigator.Destination

static final void
<F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route,
    @NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder
)

Construct a new DialogFragmentNavigator.Destination

Public methods

dialog

@NonNull
public static final void <F extends DialogFragment> dialog(@NonNull NavGraphBuilder receiver, @IdRes int id)

Construct a new DialogFragmentNavigator.Destination

Parameters
@IdRes int id

the destination's unique id

dialog

@NonNull
public static final void <F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @IdRes int id,
    @NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder
)

Construct a new DialogFragmentNavigator.Destination

Parameters
@IdRes int id

the destination's unique id

@NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder

the builder used to construct the fragment destination

dialog

@NonNull
public static final void <F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route
)

Construct a new DialogFragmentNavigator.Destination

Parameters
@NonNull String route

the destination's unique route

dialog

@NonNull
public static final void <F extends DialogFragment> dialog(
    @NonNull NavGraphBuilder receiver,
    @NonNull String route,
    @NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder
)

Construct a new DialogFragmentNavigator.Destination

Parameters
@NonNull String route

the destination's unique route

@NonNull Function1<@NonNull DialogFragmentNavigatorDestinationBuilderUnit> builder

the builder used to construct the fragment destination