ActivityNavigatorExtrasKt

public final class ActivityNavigatorExtrasKt


Summary

Public methods

static final @NonNull ActivityNavigator.Extras
ActivityNavigatorExtras(
    @Nullable 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

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

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

Parameters
@Nullable ActivityOptionsCompat activityOptions

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

int flags

Intent.FLAG_ACTIVITY_ flags to add to the Intent.