Open Donny1995 opened 2 years ago
How are you providing equality for these types? Based on the id
property?
How are you providing equality for these types? Based on the
id
property?
Yeah, by 'id' My active hypothesis for this is: "There can be only one change per item", it is true for rows, and for sections So, if someone moves a section, maybe the number of items in it must stay the same?
But in my implementation of table animator i disabled the actual moving of sections, because it messed things up the same way: (rows appeared where they did not belong, and after some iterations table crashes)
I have performed the following:
data before:
data after:
We move 1 section up, and we move 1 row up As a result i see a total mess of rows and sections What am i doing wrong?
This behavior is easily reproduced by the following code: