ankit7248 / lifeandviewcyclescope Goto Github PK
View Code? Open in Web Editor NEWLifecycleScope -> Any coroutine launched in this scope is canceled when the Lifecycle is destroyed , ViewModelScope -> Any coroutine launched in this scope is automatically canceled if the ViewModel is cleared