Code to be added in android gradle file :
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…