MinimumStatePolicy
enum MinimumStatePolicy : Enum<DispatchLifecycleScope.MinimumStatePolicy>
Content copied to clipboard
Describes the way a particular Job will behave if the lifecycle passes below the minimum state before said Job has completed.
Entries
Link copied to clipboard
Content copied to clipboard
When using RESTART_EVERY
, a coroutine will be created every time the lifecycle meets the minimum state, and will be cancelled upon dropping below it. Subsequently meeting the minimum state again will create a new coroutine.
Link copied to clipboard