Created
April 15, 2015 17:18
-
-
Save michalciolek/651e869c63247cc9dedc to your computer and use it in GitHub Desktop.
Żądanie pobrania komentarzy.
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
| public class CommentsRequest extends RetrofitSpiceRequest<Comment.List, ApiInterface> { | |
| public CommentsRequest() { | |
| super(Comment.List.class, ApiInterface.class); | |
| } | |
| @Override | |
| public Comment.List loadDataFromNetwork() { | |
| return getService().comments(); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment