예제 #1
0
 @Override
 public void onSuccessLoad(int tag, Object result) {
   if (tag == getMyLikeModel.getTag()) {
     MyLikeSpecialResponse response = (MyLikeSpecialResponse) result;
     MyLikeSpecialEntity entity = response.getData();
     datas.addAll(entity.getDatas());
     adapter.notifyDataSetChanged();
     myticketRefresh.setRefreshing(false);
   }
   myticketRecyclerview.loadMoreComplete();
 }
예제 #2
0
 @Override
 public void initData() {
   getMyLikeModel.setViewModelInterface(this);
   getMyLikeModel.start(pageNo + "");
   adapter.setOnItemClickLitener(this);
 }
예제 #3
0
 @Override
 public void onLoadMore() {
   pageNo++;
   getMyLikeModel.start(pageNo + "");
 }