コード例 #1
0
  @Override
  public synchronized boolean getOlder() {
    Log.i(TAG, "Getting oldest");

    if (mApplication.fetchTimeline(mAccountId, mUserName, DataFetcher.FETCH_OLDER) > 0) {
      return true;
    } else {
      return false;
    }
  }
コード例 #2
0
  @Override
  public void onCreate(Bundle savedInstance) {
    super.onCreate(savedInstance);

    mAccountId = getArguments().getString("accountId");

    mUserName = getArguments().getString("username");

    if (mUserName == null) {
      mUserName = mApplication.getTwitterSession().getUsername(mAccountId);
    }

    Log.i(TAG, "onCreate");
  }
コード例 #3
0
 @Override
 public synchronized Cursor getCurrent() {
   Log.i(TAG, "Getting current");
   return mApplication.getStatusData().getTimeline(mAccountId, mUserName, null);
 }