Ade Dyas
May 31, 2021

--

thank you for the correction, we can use

lifecycleScope.launch(Dispatchers.IO) { ... }

or

CoroutineScope(Dispatchers.IO).launch { ... }

I will appreciate it if you know a better solution for it, wdyt?

--

--

Ade Dyas
Ade Dyas

Responses (1)