Retrofit With Kotlin Flow Android
Today we are going to implement api call using Retrofit and Coroutine Flow for collecting and emitting the result with basic MVVM Architecture. //So for Retrofit we add the below dependencies
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' As I am using the Gson to parse JSON into Java and Kotlin classes, I…
Retrofit With Kotlin Flow Android Today we are going to implement api call using Retrofit and Coroutine Flow for collecting and emitting the result with basic MVVM Architecture. //So for Retrofit we add the below dependencies
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
implementation 'com.squareup.retrofit2:converter-gson:2.9.0' As I am using the Gson to parse JSON into Java and Kotlin classes, I… android
Retrofit Kotlin Flow Android Today going implement api call using Retrofit Coroutine Flow collecting emitting result basic MVVM Architecture Retrofit add dependency implementation comsquareupretrofit2retrofit290 implementation comsquareupretrofit2convertergson290 using Gson parse JSON Java Kotlin class I… android