AndroidStaggeredGrid icon indicating copy to clipboard operation
AndroidStaggeredGrid copied to clipboard

setSelection can not work

Open googolmo opened this issue 11 years ago • 4 comments

when i call view.setSelction(2) the gridview can not work

googolmo avatar Jan 20 '14 08:01 googolmo

Yes this is not currently supported.

denizmveli avatar Jan 21 '14 17:01 denizmveli

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.

nucleartide avatar Apr 16 '14 05:04 nucleartide

Happened the same to me... thinking about GridView and not ExpandableListView....

cesards avatar May 22 '14 19:05 cesards

It does work in here https://github.com/etsy/AndroidStaggeredGrid/issues/135

abhirb1 avatar Sep 04 '14 09:09 abhirb1