Android.view.ViewRootimpl $ appeléFromWrongThreadException: Seul le thread d'origine qui a créé une hiérarchie de vue peut toucher ses vues.
GlobalScope.launch {
//You can use for background procces
withContext(Dispatchers.Main) {
// And Update Ui here
}
}
abdullah