takahirom
03/08/2021, 10:46 AMA good practice is to usehttps://developer.android.com/kotlin/coroutines/coroutines-adv#main-safetyto make sure every function is main-safe, which means that you can call the function from the main thread.withContext()
Adam Powell
03/08/2021, 2:43 PMuli
03/08/2021, 4:43 PMmain-safe
if it is not blocking.