Closed hydrated closed 7 years ago
RecyclerView.ItemAnimator animator = recyclerView.getItemAnimator();
if (animator instanceof SimpleItemAnimator) {
((SimpleItemAnimator) animator).setSupportsChangeAnimations(false);
}
Cancel animator from recyclerview will fix this issue.
It only happened in the first time using the listview. Scroll up and down with different header. The top stickyheader works fine. But there would be another header glitch a frame in the middle of listview that suppose not to show a header there. And then keep using listview there would be no glitch at all if the whole listview item was surfed.
It happens with notifyItemRangeChanged too