mvrx-navigation / com.airbnb.mvrx.navigation / navigationLifecycleAwareLazy

navigationLifecycleAwareLazy

class navigationLifecycleAwareLazy<out T> : Lazy<T>, Serializable

This was copied from SynchronizedLazyImpl but modified to automatically initialize in ON_CREATE.

Constructors

<init>

navigationLifecycleAwareLazy(owner: LifecycleOwner, initializer: () -> T)

This was copied from SynchronizedLazyImpl but modified to automatically initialize in ON_CREATE.

Properties

value

val value: T

Functions

isInitialized

fun isInitialized(): Boolean

toString

fun toString(): String