Exemple #1
0
 @Override
 public void onRefresh() {
   currentPage = 1;
   weixinNewses.clear();
   // 2016-04-05修复Inconsistency detected. Invalid view holder adapter positionViewHolder
   weixinAdapter.notifyDataSetChanged();
   mWeixinPresenter.getWeixinNews(currentPage);
 }
Exemple #2
0
 @Override
 public void updateList(ArrayList<WeixinNews> weixinNewsesList) {
   currentPage++;
   weixinNewses.addAll(weixinNewsesList);
   weixinAdapter.notifyDataSetChanged();
 }