FragmentNavigatorExtrasKt

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

@NonNull
public static final 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.