Which is better to use for API calls Dispatcher.IO or Dispatcher.Main?
Hei, I am using a MVVM archetectural patern in my android application. I wanted to have api calls from my Viewmodel using coroutinescope.lauch{} Do I need to specify the Dispatcher as Dispatcher.IO as it will be exicuted in a IO thread or just use the Dispathcer provided by the viewmodel which is Dispatcher.Main >Solution :… Read More Which is better to use for API calls Dispatcher.IO or Dispatcher.Main?