Back to project page android-test-demo.
The source code is released under:
MIT License
If you think the Android project android-test-demo listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.andydyer.androidtestdemo.api; //from w w w . ja va2 s . c o m import retrofit.Callback; import retrofit.http.GET; import retrofit.http.Path; /** * Created by andy on 8/23/14. */ public interface ApiService { public static final String API_URL = "https://api.github.com/"; @GET("/orgs/{organization}/events") public void getEvents(@Path("organization") String organization, Callback<Events> callback); }