Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import retrofit2.Retrofit;
import retrofit2.converter.gson.GsonConverterFactory;
public class LatestRepo {
private static Retrofit retrofit = null;
static Retrofit getInstance(){
retrofit = new Retrofit.Builder().baseUrl("").addConverterFactory(GsonConverterFactory.create()).build();
return retrofit;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.