Join Slack
Powered by
How to provide `viewModelScope` as a constructor i...
# dagger
r
Ravin Jain
10/08/2021, 1:12 AM
How to provide
viewModelScope
as a constructor injection through hilt to other classes which are
viewmodelscoped
f
FunkyMuse
10/08/2021, 6:02 AM
I don't think you can, although I'm looking for the answer too, thanks for asking this relevant question, I've tried and I've failed
r
Ravin Jain
10/08/2021, 5:31 PM
hmmm may be i ill create my own scope and handle the cancellation in viewmodel methods
3
Views
Open in Slack
Previous
Next