-
Notifications
You must be signed in to change notification settings - Fork 14
Wrong item removed from list in UI #16
Comments
Hi @gr3ger, thanks for the reported issue, I'll look into it. |
It seems to apply to all itemAnimator effects, both insertion and removal (on top of the crashing issue) I haven't looked too much into it, but I suspect it has something to do with the library not taking headers into account when calculating indices :P But so far, really a solid library, keep up the good work! |
Just to double check - you are using latest 1.1.0 version? |
Yes, I'm using the latest version. |
You are right, some of the methods don't take headers into account when adding/removing items from the adapter. I'll prepare PR with bug fixes, and we'll include this into next version release. |
Great, thanks mate :) |
The library doesn't seem to take headers into account when removing items.
When I do adapter.remove(item);
It will remove the item before that if I have a header, and if I remove the very first item, it crashes with the following stacktrace:
The text was updated successfully, but these errors were encountered: