Closed mregnauld closed 2 years ago
Yes, it's expected behaviour. diffutils calculates difference between two lists, if you modify original list - nothing happens
Oh ok, it took me a while to get it, as my app had some weird behavior, but it makes sense now. Thanks.
Oh ok, it took me a while to get it, as my app had some weird behavior, but it makes sense now. Thanks.
Anyway, you can dispatch update thought AnimatedListController.notifyItemChanged
ok, definitely good to know, thanks!
After reading your ReadMe, I tried the Example 5. In that example, there is the following, which works fine:
OK, now let's say that I want to just change the value of the color of one item in the list, so here is what I tried:
But for some reason, nothing happens: the first item of the list isn't refreshed.
After some trials and errors, I found out that I have to duplicate the list and create a new instance for the first item, like the following, to make it work:
But why? Is this the expected behavior?