1. What is Retrofit?
Retrofit is a REST Client library Helper library used in android and java to create an HTTP request
and also process the HTTP response from a REST API.
2. Create an Interface Class.
public interface endpointservice {
// GET AND SET two method use to depend on you.
// put the endpoint file name in GET("") . that means the last name of the base URL
@GET("users.php")
// first my module convert the list then get the value by listresponse()
Call<List<mymodule> listresponse(@Field("User_name"),String name)
}
3. Create the Instance Class.
public...