ActivityNavigatorExtrasKt

Added in 1.0.0

public final class ActivityNavigatorExtrasKt


Summary

Public methods

static final @NonNull ActivityNavigator.Extras
ActivityNavigatorExtras(
    ActivityOptionsCompat activityOptions,
    int flags
)

Create a new ActivityNavigator.Extras instance with a specific ActivityOptionsCompat instance and/or any Intent.FLAG_ACTIVITY_ flags.

Public methods

ActivityNavigatorExtras

public static final @NonNull ActivityNavigator.Extras ActivityNavigatorExtras(
    ActivityOptionsCompat activityOptions,
    int flags
)

Create a new ActivityNavigator.Extras instance with a specific ActivityOptionsCompat instance and/or any Intent.FLAG_ACTIVITY_ flags.

Parameters
ActivityOptionsCompat activityOptions

Optional ActivityOptionsCompat to pass through to androidx.core.app.ActivityCompat.startActivity.

int flags

Intent.FLAG_ACTIVITY_ flags to add to the Intent.