Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Retrofit retrofit = new Retrofit.Builder().baseUrl(prefs.isLocalApiUrl() ? Constant.LIVE_URL : Constant.LOCAL_URL)
- .addConverterFactory(getGsonFactory())
- .addCallAdapterFactory(ErrorHandlingExecutorCallAdapterFactory.create())
- .client(client).build();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement