In order to use Kotlin Coroutine Call Adapter, we need to add the instance of its factory when building the Retrofit instance. In this app I briefly how we can simply use Retrofit and Kotlin Coroutine Adapter together to improve our Android app networking architecture.
kotlin
kotlin-android
dagger2
retrofit2
kotlin-coroutines
viewmodel-pattern
livedata
kotlin-coroutine-call-adapter
kotlin-coroutines-adapter
-
Updated
Oct 16, 2018 - Kotlin