setSelection can not work
Opened this issue · 4 comments
googolmo commented
when i call view.setSelction(2) the gridview can not work
denizmveli commented
Yes this is not currently supported.
nucleartide commented
I spent a few hours banging my head against the wall before remembering that this was StaggeredGridView.setSelection
, not GridView.setSelection
.
My app's current configuration of AndroidStaggeredGrid maintains the current position after rotations only. Is there any way to reapply the current grid position manually? Specifically, this would be useful after swapping out fragments upon pressing another navigation drawer item, or after pressing the Up button on a detail view.
cesards commented
Happened the same to me... thinking about GridView and not ExpandableListView....