-
-
Save jezinka/f10c4af16598cc923ad2ee71bd8ef3f9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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