RetrofitExample
RetrofitExample copied to clipboard
Example for one of my tutorials at http://blog.robinchutaux.com/blog/a-smart-way-to-use-retrofit/
When i typed "new york" and clicked button, i received 404 error. Please help me.
when i open this project ,studio no repose immediately.i think the gradle or the studio version must have some issues.
Hello @jiezili, This not question, but i have query with retrofit, I have json response as below: { "status": 200 "status_message": "data" "data": { "speciality": [2] 0: { "speciality": "Ayurved"...
http://api.openweathermap.org/data/2.5/forecast/city?id=524901&APPID={APIKEY} Change to fixit. thanks public interface WeatherService { @GET("/data/2.5/weather") public void getWeather(@Query("q") String strCity,@Query("appid") String appid, Callback callback); }
When I have good internet connection app works very well. no crashes. But when thereis weak mobile/wi-fi internet connection, I get NPE. Can TypeAdapterFactory return null, if my pojo isn't...