maurycyw/StaggeredGridView

Saving state after rotation causes important errors

Opened this issue · 0 comments

After every rotation, "onSaveInstanceState" funciton stores the offset of every column, the firsPosition being displayed and a mapping array that maps every child with the columns it belongs to.
However, if you are not on the top of the list, after rotate the device, the list is bugged in a way that you cannot scroll to the top of the list (in fact, you can see some childs that are just partially displayed).

Does anyone have any clue about what could be the problem?

Thanks a lot.