10
Android Networking in 2019 — Retrofit with Kotlin’s Coroutines

Android Networking in 2019 — Retrofit with Kotlin’s Coroutines

5 years ago
Anonymous $L9wC17otzH

https://android.jlelse.eu/android-networking-in-2019-retrofit-with-kotlins-coroutines-aefe82c4d777

The year 2018 saw a lot of big changes in the Android World, especially in terms of Android Networking. The launch of a stable version of Kotlin Coroutines fueled a lot of movement from RxJava to Kotlin Coroutines for handling multithreading in Android.In this article, we will be talking about making Networking API calls in Android using Retrofit2 and Kotlin Coroutines. We will be making a networking call to TMDB API to fetch popular movies.

If you are experienced with Android Networking and have made networking calls before using Retrofit but probably with other libraries viz RxJava, instead of Kotlin Coroutines and just want to check out the implementation, check out this code readme on Github.