0
2
ttushuangxi
This code will launch the application and then wait for one second. After one second has passed, the application will create a new context and start executing the withContext() method in that context.
0 Comments
lifecycleScope.launch(Dispatchers.IO) { delay(1000) withContext(Dispatchers.Main) { } }