@Override public synchronized boolean getOlder() { Log.i(TAG, "Getting oldest"); if (mApplication.fetchTimeline(mAccountId, mUserName, DataFetcher.FETCH_OLDER) > 0) { return true; } else { return false; } }
@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"); }
@Override public synchronized Cursor getCurrent() { Log.i(TAG, "Getting current"); return mApplication.getStatusData().getTimeline(mAccountId, mUserName, null); }