
Connect to an API With Retrofit, RxJava 2, and Kotlin
Today, it’s pretty common for mobile apps to exchange data with remote servers, using web Application Programming Interfaces (APIs).Whether it’s checking for new emails using the Gmail API, searching for events in the local area with the Ticketmaster API, or leveraging the user’s Spotify history to recommend new music, APIs (usually REST APIs) provide access to a wealth of information that you can use in your app.Communicating with remote servers has become such an important part of mode