Package dispatch.android.lifecycle
Types
MainImmediateCoroutineScope which is tied to a Lifecycle.
Factory for DispatchLifecycleScopes. This may be injected into a lifecycle-aware class to provide custom CoroutineContexts.
Deprecated in favor of DispatchLifecycleScope in order to avoid name collisions with Androidx.
DispatchLifecycleScope instance which is tied to a Fragment's View lifecycle.
Functions
Default implementation of a CoroutineContext as seen in a MainImmediateCoroutineScope
.
Executes block
one time, the next time the Lifecycle's state is at least Lifecycle.State.CREATED.
Executes block
one time, the next time the Lifecycle's state is at least Lifecycle.State.RESUMED.
Executes block
one time, the next time the Lifecycle's state is at least Lifecycle.State.STARTED.
CoroutineScope helper for a Fragment's ViewLifecycleOwner.