https://kotlinlang.org logo
e

elizarov

02/11/2018, 9:22 AM
@louiscad W.r.t. your
CoroutinesActivity
(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.
👍🏽 1