Android Open Source - Twitter-Android Tweet Fragment






From Project

Back to project page Twitter-Android.

License

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.

Java Source Code

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();
}




Java Source Code List

info.mahmoudhossam.twitter.MyEndlessAdapter.java
info.mahmoudhossam.twitter.TweetAdapter.java
info.mahmoudhossam.twitter.TwitterBackend.java
info.mahmoudhossam.twitter.Activities.Browser.java
info.mahmoudhossam.twitter.Activities.Login.java
info.mahmoudhossam.twitter.Activities.MainActivity.java
info.mahmoudhossam.twitter.Activities.PostStatus.java
info.mahmoudhossam.twitter.Activities.Tweet.java
info.mahmoudhossam.twitter.Fragments.HomeTweets.java
info.mahmoudhossam.twitter.Fragments.Mentions.java
info.mahmoudhossam.twitter.Fragments.TweetFragment.java
info.mahmoudhossam.twitter.Fragments.UserTweets.java