Back to project page Twitter-Android.
The source code is released under:
Apache License
If you think the Android project Twitter-Android 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 info.mahmoudhossam.twitter.Fragments; /*from w w w.ja v a 2s . com*/ import android.os.Bundle; import com.actionbarsherlock.app.SherlockListFragment; import info.mahmoudhossam.twitter.TwitterBackend; import twitter4j.Paging; import twitter4j.Twitter; public abstract class TweetFragment extends SherlockListFragment { protected Twitter twitter; protected Paging paging; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); initializeVariables(); } @Override public void onStart() { super.onStart(); refresh(); } private void initializeVariables() { twitter = TwitterBackend.getTwitterInstance(); paging = new Paging(1, 20); } public abstract void refresh(); }