add On Repeating Job
Author
skydoves (Jaewoong Eum)
Collects from the flow when the lifecycle is at least Lifecycle.State.STARTED and STOPS the collection when it's STOPPED. It automatically restarts collecting when the lifecycle is Lifecycle.State.STARTED again.
Return
Lazybones A lazybones wrapper for creating a lifecycle-aware property.
Parameters
Lifecycle.State in which the coroutine running block starts.
Specifies how a Lazy instance synchronizes initialization among multiple threads.
A block that will be executed on the specific lifecycle.
Author
skydoves (Jaewoong Eum)
Collects from the flow when the lifecycle is at least Lifecycle.State.STARTED and STOPS the collection when it's STOPPED. It automatically restarts collecting when the lifecycle is Lifecycle.State.STARTED again.
Return
Lazybones A lazybones wrapper for creating a lifecycle-aware property.
Parameters
A flow that will be collected on the specific lifecycle.
Lifecycle.State in which the coroutine running block starts.
Specifies how a Lazy instance synchronizes initialization among multiple threads.
A block that will be executed on the specific lifecycle.