Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
public class HttpClient {
private static final String API_BASE_URL = "";
private static Retrofit retrofit = new Retrofit.Builder()
private static ApiService apiService = retrofit.create(ApiService.class);
public static ApiService getApiService() {
return apiService;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment