Skip to content

Instantly share code, notes, and snippets.

@ririsrismawati
Created June 13, 2016 06:49
Show Gist options
  • Select an option

  • Save ririsrismawati/74865c8d3911ff73b58057af7a212ecf to your computer and use it in GitHub Desktop.

Select an option

Save ririsrismawati/74865c8d3911ff73b58057af7a212ecf to your computer and use it in GitHub Desktop.
package com.fortyonestudio.syncadaptertutorial.services;
import com.fortyonestudio.syncadaptertutorial.model.DataWeather;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.POST;
/**
* Created by Riris.
*/
public interface APIService {
@GET("daily?q=94043&mode=json&units=metric&cnt=14&APPID=073547cbfbefb92f3d3a21a05cf08c36") //JUST FOR EXAMPLE, IN FUTURE IT WILL BE CONTAINS QUERY AND PATH
Call<DataWeather> loadDataWeather();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment