<https://medium.com/android-things/building-a-kotlin-native-on-ios-android-6a6db9df5bef>
s
@Jeremy You should put this in the #kodein channel as well. I think Salomon would like that πŸ™‚
j
I listened to him on the talking kotlin podcast. Eagerly awaiting the multiplatform framework πŸ™‚
s
One niggle I found πŸ™‚ Your
Presenter
uses
GlobalScope
to
launch
your request. Instead, you could have your
Presenter
implement
CoroutineScope
, overriding the
coroutineContext
by adding the constructor parameter with a
SupervisorJob
that you can cancel when the `Presenter`’s lifecycle ends.
πŸ‘ 1
j
Great, thanks for the feedback!
n
IOS? I don’t trust articles with incorrect spelling.
πŸ‘ 2