Retrofit and REST API Android Tutorial 2020 | Kotlin | JSON | API sync Kotlin | Android Gradle Fix

Code to be added in android gradle file :
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8

kotlinOptions {
jvmTarget = “1.8”

More about :

In this video series we will learn how to use Retrofit, which is a type-safe HTTP client for Android and Kotlin.
Retrofit allows easy communication with a web service by abstracting the HTTP API into a Java interface.

We will set up Retrofit in a new…

Leave a Reply

Your email address will not be published. Required fields are marked *