The widget is très cool, but there is a little lack of Google+ functionality – span column. For example, if I have 2 column with no span items in portrait mode and 3 column with some spanable items in landscape, and when I’m in portrait mode and scroll down to 8 position and then I rotate the screen, If I had the 3position object spanable and scroll up, I get random result with some empty cells. I think this is happening, because the grid has no way to know in advance how many items before the rotation position are spanable so to figure out which item to be the first visible. So when I try to rotate at 8 position in portrait mode, I get the 8 position in landscape, but when I scroll up to 3 position which spans the column, there is no enough cell for the rest.
May be if we had some StaggeredGridView int Counter in adapter who can check the object info and count every spanable object, then when we get the orientation change, we can tell the grid this counter value and by this way the grid can figure out who has to be the first visible object and move some position up in advance. So when we scroll up to have enough space to span column and enough objects to fill the empty cells. Could you pointing me out how the grid figured out who to be the first visible object when orientation changes, so to give it a try and make some contribution? Or if we get better way to fix this issue, It well be super cool.
Thanks!
The widget is très cool, but there is a little lack of Google+ functionality – span column. For example, if I have 2 column with no span items in portrait mode and 3 column with some spanable items in landscape, and when I’m in portrait mode and scroll down to 8 position and then I rotate the screen, If I had the 3position object spanable and scroll up, I get random result with some empty cells. I think this is happening, because the grid has no way to know in advance how many items before the rotation position are spanable so to figure out which item to be the first visible. So when I try to rotate at 8 position in portrait mode, I get the 8 position in landscape, but when I scroll up to 3 position which spans the column, there is no enough cell for the rest. May be if we had some StaggeredGridView int Counter in adapter who can check the object info and count every spanable object, then when we get the orientation change, we can tell the grid this counter value and by this way the grid can figure out who has to be the first visible object and move some position up in advance. So when we scroll up to have enough space to span column and enough objects to fill the empty cells. Could you pointing me out how the grid figured out who to be the first visible object when orientation changes, so to give it a try and make some contribution? Or if we get better way to fix this issue, It well be super cool. Thanks!