Skip to content

Instantly share code, notes, and snippets.

@jezinka

jezinka/WeatherService.java Secret

Created Aug 9, 2018
Embed
What would you like to do?
public interface WeatherService {
@GET("data.json")
Call<JsonObject> loadData();
Retrofit retrofit = new Retrofit.Builder()
.baseUrl(BuildConfig.WEATHER_ADDRESS)
.addConverterFactory(GsonConverterFactory.create())
.build();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment