You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When deleting the first item (Item 1 in the screenshot below) the item will jump above "Header 0" before being deleted. I am calling notifyItemRemoved() upon deleting an item.
The text was updated successfully, but these errors were encountered:
Hi @REWKyleB, do you have an animation associated with deleting the item? Are you clearing the header cache on the decoration as well? It be a lot of help if you could provide a sample that shows this issue.
Hi @edubarr, Thank you for the reply. I don't have a code snippet handy, but I can give a few details on the implementation I previously had. I was using the RecyclerView DefaultItemAnimator and I was clearing the header cache on the decoration.
I have the same problem. It only appears when using notifyItemRemoved(i) method in my recycler adapter. This glitch happends only on the item that is "holding" sticky header.
Same issue, when using notifyItemRemoved for item directly underneath sticky header, causes header to momentarily move to bottom of item to be deleted before animation, then performs remove animation.
When deleting the first item (Item 1 in the screenshot below) the item will jump above "Header 0" before being deleted. I am calling
notifyItemRemoved()
upon deleting an item.The text was updated successfully, but these errors were encountered: