Skip to content

Commit

Permalink
Fix visual glitches, appearing from time to time
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengees committed Oct 31, 2015
1 parent 8b7b4b0 commit 7ff7b85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,10 @@ public int insertAtStart(@NonNull List<Conference> list) {
currentPos++;
}

if (currentPos > 0) {
notifyItemRangeChanged(0, currentPos);
}

return result;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,6 @@ private void handleResult(List<T> result, boolean insert) {
} else {
adapter.append(result);
}

adapter.notifyDataSetChanged();
}

private void showError() {
Expand Down

0 comments on commit 7ff7b85

Please sign in to comment.