elizarov
02/11/2018, 9:22 AMCoroutinesActivity
(above). I would recommend using launch(UI, start=CoroutineStart.UNDISPATCHED) { ... }
in all that glue code because you know that you are already in UI
. This way, you avoid extra dispatch and it becomes more performant & predictable.