Back to project page android-reddit.
The source code is released under:
MIT License
If you think the Android project android-reddit 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.pocketreddit.library.datasources; // ww w. j a va 2s.c o m import org.json.JSONObject; public interface JsonDataSource { public JSONObject getSubreddits(String sessionId) throws DataSourceException; public JSONObject getLinks(String subreddit) throws DataSourceException; public JSONObject getComments(String permalink) throws DataSourceException; public JSONObject getSubreddit(String subreddit) throws DataSourceException; public JSONObject getDefaultSubreddits() throws DataSourceException; public JSONObject getLinksForFrontPage() throws DataSourceException; }