Back to project page karin.
The source code is released under:
MIT License
If you think the Android project karin 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 cc.wanko.karin.app.client; //w ww . ja v a 2s. c o m import android.content.Context; import twitter4j.Paging; import twitter4j.ResponseList; import twitter4j.Status; import twitter4j.Twitter; import twitter4j.TwitterException; /** * Created by eagletmt on 14/05/05. */ public class HomeTimelineSource implements StatusSource { private final Twitter twitter; public HomeTimelineSource(Context context) { super(); this.twitter = TwitterProvider.get(context); } @Override public ResponseList<Status> getStatuses(Paging paging) throws TwitterException { return twitter.getHomeTimeline(paging); } @Override public String getCacheKey() { return "home_timeline"; } }