Skip to content
Snippets Groups Projects

Adding Retrofit

Merged gsun requested to merge Retrofit into master
3 files
+ 48
0
Compare changes
  • Side-by-side
  • Inline
Files
3
package iastate.edu.weatherapp.ui.main.Retrofit;
import iastate.edu.weatherapp.ui.main.Model.WeatherResult;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.Query;
public interface IOpenWeatherMap {
@GET("weather")
Observable<WeatherResult> getWeatherByLatlng(@Query("lat") String lat,
@Query("lon") String lng,
@Query("appid") String appid,
@Query("units") String unit);
}
Loading