argument

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

Lazy intent parameters for fragments

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 Fragment.getArguments


inline fun <T> Fragment.argument(key: String): Lazy<T?>

Lazy intent parameters for fragments

Return

Lazy of the target type

Parameters

key

lookup key for the embedded item in the Fragment.getArguments