lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

SpannableGrid: possible to force kind of "stackFromTop" ? #196

Closed qstuff closed 9 years ago

qstuff commented 9 years ago

Hi, I'm using the SpannableGridLayout and ran into following issue:

When I scroll down and rotate my device the layout is recreated, starting at the position it had before the rotation ( assume the recyler view remebers this somehow ). But then the layout seems to be recreated completely new, so when i now scroll back to the top the layout is not completely filled with items (there is a gap at the top).

So i wonder if there is a way to tell the layout manager to do the positioning in a way that all items will be stacked right from the top, even if i start at a lower position.

qstuff commented 9 years ago

this issue will be fixed with PR 214 by md5555 (thx)