Yes, you can. Check this guide about usage of coro...
# coroutines
g
Yes, you can. Check this guide about usage of coroutines for UI. https://github.com/Kotlin/kotlinx.coroutines/blob/master/ui/coroutines-guide-ui.md tl;dr use CoroutineDispatcher
UI
to run coroutine on the main thread.
UI
dispatcher also uses Handler under the hood