@Test public void getBeginSequence(){ long sequence = presenter.getBeginSequence(Direction.DIRECTION_NEW); LogUtils.i("--sequence id:" + sequence); }
public long getBeginSequence(@Direction String direction) { if (Direction.DIRECTION_NEW.equals(direction)) { return -1; } if (mOldClaimRewardRecordList == null || mOldClaimRewardRecordList.isEmpty()) { return -1; } return mOldClaimRewardRecordList.get(mOldClaimRewardRecordList.size() - 1).getSequence(); }
ClaimRecordPresenter extends BasePresenter<ClaimRecordContract.View> implements ClaimRecordContract.Presenter { public long getBeginSequence(@Direction String direction) { if (Direction.DIRECTION_NEW.equals(direction)) { return -1; } if (mOldClaimRewardRecordList == null || mOldClaimRewardRecordList.isEmpty()) { return -1; } return mOldClaimRewardRecordList.get(mOldClaimRewardRecordList.size() - 1).getSequence(); } }
ClaimRecordPresenter extends BasePresenter<ClaimRecordContract.View> implements ClaimRecordContract.Presenter { public long getBeginSequence(@Direction String direction) { if (Direction.DIRECTION_NEW.equals(direction)) { return -1; } if (mOldClaimRewardRecordList == null || mOldClaimRewardRecordList.isEmpty()) { return -1; } return mOldClaimRewardRecordList.get(mOldClaimRewardRecordList.size() - 1).getSequence(); }  }
ClaimRecordPresenter extends BasePresenter<ClaimRecordContract.View> implements ClaimRecordContract.Presenter { public long getBeginSequence(@Direction String direction) { if (Direction.DIRECTION_NEW.equals(direction)) { return -1; } if (mOldClaimRewardRecordList == null || mOldClaimRewardRecordList.isEmpty()) { return -1; } return mOldClaimRewardRecordList.get(mOldClaimRewardRecordList.size() - 1).getSequence(); }  @Override void getRewardTransactions(String direction); @Override void detachView(); long getBeginSequence(@Direction String direction); List<ClaimRewardRecord> getNewList(List<ClaimRewardRecord> oldClaimRewardRecordList, List<ClaimRewardRecord> newClaimRewardRecordList, boolean isLoadMore); }
ClaimRecordPresenter extends BasePresenter<ClaimRecordContract.View> implements ClaimRecordContract.Presenter { public long getBeginSequence(@Direction String direction) { if (Direction.DIRECTION_NEW.equals(direction)) { return -1; } if (mOldClaimRewardRecordList == null || mOldClaimRewardRecordList.isEmpty()) { return -1; } return mOldClaimRewardRecordList.get(mOldClaimRewardRecordList.size() - 1).getSequence(); }  @Override void getRewardTransactions(String direction); @Override void detachView(); long getBeginSequence(@Direction String direction); List<ClaimRewardRecord> getNewList(List<ClaimRewardRecord> oldClaimRewardRecordList, List<ClaimRewardRecord> newClaimRewardRecordList, boolean isLoadMore);  }