Skip to content

Instantly share code, notes, and snippets.

@jezinka
Created February 17, 2019 09:02
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