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

lifecycleAware

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

returns a Lazybones delegate for initializing lifecycle aware property.

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