tjerkw / Android-SlideExpandableListView

A better ExpandableListView, with animated expandable views for each list item
Apache License 2.0
1.98k stars 741 forks source link

Keep the open state on rotation #20

Closed FnTm closed 11 years ago

FnTm commented 11 years ago

Hi there! This a problem that came up for me while trying out this nice bit of library. I need the item I expanded to stay open through rotation. This feature would be massively useful!

tjerkw commented 11 years ago

Ah indeed. It was not saving the state properly. I fixed this in the adapter, and if you use the ListView directly it works out of the box now. Thanks for spotting this!

FnTm commented 11 years ago

No, THANK YOU! for the quick fix. I tried to hack it myself, but fell short, and was already going to have a fixed state app because of this, but You saved my butt. Thanks!