-
Couldn't load subscription status.
- Fork 24
Coroutines: Understanding ViewModel Scope
Devrath edited this page Dec 31, 2023
·
3 revisions

- By default the ViewModel scope has a main dispatcher and a supervisor scope.
- If you override it with another dispatcher, the main dispatcher gets overridden by the new dispatcher.
- So anything you start by default, runs on mainthread here.
