ActivityNavigator.Extras.Builder



Builder for constructing new Extras instances. The resulting instances are immutable.

Summary

Public constructors

android

Public functions

ActivityNavigator.Extras.Builder
addFlags(flags: Int)

Adds one or more Intent.FLAG_ACTIVITY_ flags

android
ActivityNavigator.Extras

Constructs the final Extras instance.

android
ActivityNavigator.Extras.Builder

Sets the ActivityOptionsCompat that should be used with ActivityCompat.startActivity.

android

Public constructors

Builder

Builder()

Public functions

addFlags

fun addFlags(flags: Int): ActivityNavigator.Extras.Builder

Adds one or more Intent.FLAG_ACTIVITY_ flags

Parameters
flags: Int

the flags to add

build

fun build(): ActivityNavigator.Extras

Constructs the final Extras instance.

Returns
ActivityNavigator.Extras

An immutable Extras instance.

setActivityOptions

fun setActivityOptions(activityOptions: ActivityOptionsCompat): ActivityNavigator.Extras.Builder

Sets the ActivityOptionsCompat that should be used with ActivityCompat.startActivity.

Parameters
activityOptions: ActivityOptionsCompat

The ActivityOptionsCompat to pass through