Retrofit is one of the most widely used networking libraries in Android. It is an open source library created by Jake Wharton. RxJava is the open source implementation of ReactiveX in Java. RxJava is a great way to do reactive-programming or event-driven programming. This recipe won't teach you about reactive programming ( https://en.wikipedia.org/wiki/Reactive_programming ), so if you aren't comfortable with it, you can learn about it through the documentation (https://github.com/ReactiveX/RxJava). Rather, in this recipe, you will learn how to use Retrofit and RxJava together.
How to use RxJava and Retrofit with Kotlin
Getting ready
We will be using Android Studio 3.0. Ensure that you have its latest version. We...