Created
June 13, 2016 06:49
-
-
Save ririsrismawati/74865c8d3911ff73b58057af7a212ecf to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| 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