Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class ServiceGenerator {
public static final String BASE_URL = "";
private static Retrofit.Builder retrofitBuilder =
new Retrofit.Builder()
private static Retrofit retrofit =;
private static RequestApi requestApi = retrofit.create(RequestApi.class);
public static RequestApi getRequestApi(){
return requestApi;
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.