extra

fun <T> SavedStateHandle.extra(key: String, default: () -> T): Lazy<T>

Lazy intent parameters for saved state handle

Return

Lazy of the target type

Parameters

default

default value to use when key does not exist

key

lookup key for the embedded item in the SavedStateHandle.get


Lazy intent parameters for saved state handle

Return

Lazy of the target type

Parameters

key

lookup key for the embedded item in the SavedStateHandle.get


inline fun <T> FragmentActivity.extra(key: String, crossinline default: () -> T): Lazy<T>

Lazy intent parameters for fragment activities

Return

Lazy of the target type

Parameters

default

default value to use when key does not exist

key

lookup key for the embedded item in the FragmentActivity.getIntent


inline fun <T> FragmentActivity.extra(key: String): Lazy<T?>

Lazy intent parameters for fragment activities

Return

Lazy of the target type

Parameters

key

lookup key for the embedded item in the FragmentActivity.getIntent