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?
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?
Android Developer