Skip to content

Commit

Permalink
fixbug 431
Browse files Browse the repository at this point in the history
  • Loading branch information
ChadCym committed Oct 24, 2016
1 parent bc6c667 commit 8d47151
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public void addData(int position, List<T> data) {
public void addData(List<T> newData) {
this.mData.addAll(newData);
hideLoadingMore();
notifyItemRangeInserted(mData.size() - newData.size() + getHeaderLayoutCount(), newData.size());
// notifyItemRangeInserted(mData.size() - newData.size() + getHeaderLayoutCount(), newData.size());
notifyDataSetChanged();
}

Expand Down Expand Up @@ -853,12 +853,12 @@ public View getEmptyView() {


/**
*
* Finished pull to refresh on the load
*/
public void loadComplete() {
mNextLoadEnable = false;
mLoadingMoreEnable = false;
this.notifyItemChanged(getItemCount());
notifyDataSetChanged();
}


Expand Down

0 comments on commit 8d47151

Please sign in to comment.