also you can use reverse approach, run coroutine w...
# coroutines
g
also you can use reverse approach, run coroutine with main thread dispatcher and run suspended function inside
Copy code
launch(MainThread) {
  textView.text = api.getData().await()
}