You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could not find any mechanism to cancel the requests in the ViewModels.
Example DetailViewModel line 48: withContext(dispatchers.io) { userSource = getUserDetailUseCase(forceRefresh = forceRefresh, login = argsLogin) }
I could not find any mechanism to cancel the requests in the
ViewModels
.Example
DetailViewModel
line 48:withContext(dispatchers.io) { userSource = getUserDetailUseCase(forceRefresh = forceRefresh, login = argsLogin) }
Is it the case to use
androidx.lifecycle
withviewModelScope
(although still in alpha)?https://developer.android.com/jetpack/androidx/releases/lifecycle
The text was updated successfully, but these errors were encountered: