NavArgsLazy
class NavArgsLazy<Args : NavArgs> : Lazy<Args>
| kotlin.Any | |
| ↳ | androidx.navigation.NavArgsLazy |
An implementation of Lazy used by android.app.Activity.navArgs and androidx.fragment.app.Fragment.navArgs.
argumentProducer is a lambda that will be called during initialization to provide arguments to construct an Args instance via reflection.
Summary
| Public constructors | |
|---|---|
|
An implementation of Lazy used by android.app.Activity.navArgs and androidx.fragment.app.Fragment.navArgs. |
|
| Public methods | |
|---|---|
| Boolean | |
| Properties | |
|---|---|
| Args | |
Public constructors
<init>
NavArgsLazy(
: KClass<Args>,
: () -> Bundle)
An implementation of Lazy used by android.app.Activity.navArgs and androidx.fragment.app.Fragment.navArgs.
argumentProducer is a lambda that will be called during initialization to provide arguments to construct an Args instance via reflection.
Public methods
isInitialized
fun isInitialized(): Boolean
Properties
value
val value: Args

