https://kotlinlang.org logo
#android
Title
# android
a

Andy Victors

05/11/2019, 8:24 PM
Has
<http://Dispatchers.IO|Dispatchers.IO>
been deprecated/removed? Documentation says it exist but it's not available in code (coroutines version
1.1.1
)
d

Dico

05/12/2019, 1:25 AM
I believe it does not exist in common code.
s

Simon Schubert

05/12/2019, 1:54 AM
Exactly. Are you building a mpp? You could have CoroutineDispatcher as expect and for jvm actual Dispatchers.IO and iOS actual ApplicatonDiapatcher
a

Andy Victors

05/13/2019, 11:59 AM
Is there any project which has all of this configured? I've found this article which does basically the same but it's for iOS only, I need to configure it for Android, too: https://medium.com/@yuyaHorita/kotlin-native-ios-a1a73d7390fe
Also I think. Dispatchers.IO is not available on Android 😕
i

Ive Vasiljevic

05/13/2019, 5:21 PM
I have Dispatchers.IO available for my project.
👍 1
With these implementations.