Conversation
…d by merging old and new list
|
I feel like this might be a fix for #379 which would be amazing contribution. I had an attempt at fixing it, but I realized it was not sufficient. This looks promising however. I will need to test it and potentially merge and release it, as it would be a massive help 🙏 🙇 |
|
“ after the second call” , “ observers list is empty ” |
…type list of Items
|
@cathalc were you able to verify that this PR resolves the issues you encountered? I did take a glance at it, I did not eventually reach a conclusion on whether it has any unintended side-effects (other than what's practically API-breaking-change on the change from But I did encounter that |
|
Actually, I found that my solution break work of framework main idea - nested groups. I compare collections flatten, that mean I ignore group as entity at all. Idk due date for fix :( Btw, I was change Collection to List bcs from outside it used only for List. |
I finded problem, that after diffutils work, we just take new groups, but actually not all new groups will be settet do RecyclerView.
Major problem is that we unregister all old groups from adapter, but he can be still used by RecyclerView.
U can see it, if update items by method updateAsync and try to use notifyChanged.