Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
GitHub / CodingInfinite / KotlinCoroutineCallAdpater
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.
Stars: 29
Forks: 7
Open Issues: 0
License: None
Language: Kotlin
Repo Size: 133 KB
Dependencies:
18
Created: over 5 years ago
Updated: 7 months ago
Last pushed: over 5 years ago
Last synced: 7 months ago
Topics: dagger2, kotlin, kotlin-android, kotlin-coroutine-call-adapter, kotlin-coroutines, kotlin-coroutines-adapter, livedata, retrofit2, viewmodel-pattern
Files
Dependencies
- android.arch.lifecycle:extensions 1.1.1 implementation
- android.arch.lifecycle:viewmodel 1.1.1 implementation
- com.android.support.constraint:constraint-layout 1.1.3 implementation
- com.android.support:appcompat-v7 28.0.0 implementation
- com.android.support:cardview-v7 28.0.0 implementation
- com.android.support:recyclerview-v7 28.0.0 implementation
- com.google.dagger:dagger 2.15 implementation
- com.google.dagger:dagger-android 2.15 implementation
- com.google.dagger:dagger-android-support 2.15 implementation
- com.jakewharton.picasso:picasso2-okhttp3-downloader 1.1.0 implementation
- com.jakewharton.retrofit:retrofit2-kotlin-coroutines-experimental-adapter 1.0.0 implementation
- com.jakewharton.timber:timber 4.6.0 implementation
- com.squareup.okhttp3:logging-interceptor 3.9.1 implementation
- com.squareup.picasso:picasso 2.5.2 implementation
- com.squareup.retrofit2:converter-gson 2.3.0 implementation
- com.squareup.retrofit2:retrofit 2.3.0 implementation
- org.jetbrains.kotlin:kotlin-stdlib-jdk7 $kotlin_version implementation
- junit:junit 4.12 testImplementation