-
-
Save jezinka/1a55f5acf48be01e1f6263a142606d38 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("sensorFriendly") | |
Call<List<Sensor>> loadData(); | |
Retrofit retrofit = new Retrofit.Builder() | |
.baseUrl(BuildConfig.WEATHER_ADDRESS) | |
.addConverterFactory(MoshiConverterFactory.create()) | |
.build(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment