Skip to content

Instantly share code, notes, and snippets.

@ZherebtsovAlexandr
Created May 24, 2017 09:02
Show Gist options
  • Save ZherebtsovAlexandr/1fdcb099ddced9d034618458c84596ba to your computer and use it in GitHub Desktop.
Save ZherebtsovAlexandr/1fdcb099ddced9d034618458c84596ba to your computer and use it in GitHub Desktop.
public interface RedditRepository {
Single<List<Reddit>> getPosts(String query, String restrict, String sort, String nsfw, int limit, String date);
Single<List<Reddit>> getPostsAfter(String query, String restrict, String sort, String nsfw, int limit, String date, String after);
Single<List<Reddit>> getHistory();
Single<List<Reddit>> getHistoryAfter(int date);
Single<List<Reddit>> getFavorite();
Single<List<Reddit>> getFavoriteAfter(int date);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment