Open Back4fire opened 3 years ago
Thanks for the sample. I'll investigate this.
I've not found a solution yet for this issue.
The issue is related to the item animator attached by default to a RecyclerView
:
recyclerView.itemAnimator = null
The workaround to this is removing the item animator but I'm searching a way to fix the remove animation in a GridLayoutManager
.
The size of the horizontal divider will get bigger and bigger when removing items in a RecyclerView with a GridLayoutManager repeatedly.
RecyclerViewDivider version: 3.5.0
A Test Project: MyApplication.zip