lazybones / com.skydoves.lazybones / androidx.lifecycle.LifecycleOwner

Extensions for androidx.lifecycle.LifecycleOwner

lifecycleAware

fun <T> LifecycleOwner.lifecycleAware(initializer: () -> T): Lazybones<T>

returns a Lazybones delegate for initializing lifecycle aware property.

fun <T> LifecycleOwner.lifecycleAware(value: T): LifecycleAwareProperty<T>