Hi. guys! I’m stuck with an issue in coroutines with switching back to the main thread after I updated
- the kotlin version from ‘1.2.70’ to ‘1.3.20’
- the gradle plugin versino “3.2.1” to “3.3.1"
I’m still using coroutines experimental lib version 0.19 :
org.jetbrains.kotlinxkotlinx coroutines core0.19
org.jetbrains.kotlinxkotlinx coroutines android0.19
The output is of that code is:
I/System.out: Thread launchUI coroutine main
I/System.out: Thread inside coroutine is ForkJoinPool.commonPool-worker-0
I/System.out: Thread after coroutine join ForkJoinPool.commonPool-worker-0
Also, I see the same with not switching to Main thread when use actor with default context(CommonPool) and then via the channel notify about updates and in consumeEach the thread didn’t change to main.
Does anybody having such troubles?