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