Network call using Retrofit

1. Setup

Add the libraries to the gradle dependencies and add the Internet permission on the Manifest.


2. Using the library

Copy/paste the snippet below into the MainActivity.kt file, ideally each class/interface would all have their own file, but we'll keep it in the same one for now to keep it simple.

Send us an email with any questions or suggestions!