Open KingWu opened 9 years ago
this is related to item notifications, we will review it later for the stability issue. at the same would u post your code here so we can help u? @KingWu
Hi @KingWu , the same occur to me! I have do:
myArray.clear()
myAdapter.notifyDataSetChanged();
And as you say the position of sticky header is calculated wrong.
You can disable animation to fix this flash issue:
((SimpleItemAnimator) recyclerView.getItemAnimator()).setSupportsChangeAnimations(false);
Hi, try to implement UltimateRecyclerView with Sticky Header. When click list item, i use notifyItemChanged with position to update the item's UI. But, the position of sticky header will be calculated wrong. You will see a Flash issue. The header show down side and then show upper sider.