Back to project page jive-android-core-sdk-example.
The source code is released under:
Apache License
If you think the Android project jive-android-core-sdk-example 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 com.jivesoftware.example.github.service; /*w ww. j a v a2 s.co m*/ import com.jivesoftware.example.exceptions.AuthenticationException; import com.jivesoftware.example.exceptions.TwoFactorException; import com.jivesoftware.example.github.dao.GitHubList; import com.jivesoftware.example.github.dao.User; import retrofit.Callback; import retrofit.http.GET; import retrofit.http.Path; import retrofit.http.Query; /** * Created by mark.schisler on 9/16/14. */ public interface IGitHubUserService { @GET("/users/{login}") User getUser(@Path("login") String login); @GET("/users/{login}") void getUser(@Path("login") String login, Callback<User> callback); @GET("/search/users") GitHubList<User> getUsers(@Query("q") String query) throws AuthenticationException, TwoFactorException; @GET("/search/users") void getUsers(@Query("q") String query, Callback<GitHubList<User>> callback); }