FragmentNavigatorExtrasKt

Added in 1.0.0

public final class FragmentNavigatorExtrasKt


Summary

Public methods

static final @NonNull FragmentNavigator.Extras

Create a new FragmentNavigator.Extras instance with the given shared elements

Public methods

FragmentNavigatorExtras

public static final @NonNull FragmentNavigator.Extras FragmentNavigatorExtras(
    @NonNull Pair<@NonNull View, @NonNull String> sharedElements
)

Create a new FragmentNavigator.Extras instance with the given shared elements

Parameters
@NonNull Pair<@NonNull View, @NonNull String> sharedElements

One or more pairs of View+String names to be passed through to FragmentNavigator.Extras.Builder.addSharedElement.