I have a standard ExpandableListView
backed by a custom CursorTreeAdapter
and custom layouts. It works fine except for the fact that if I rotate the screen twice (i.e. portrait to landscape then back to portrait, or landscape to portrait then back to landscape) then all the groups appear to have collapsed, and they cannot be re-expanded. Further rotations change nothing.
Might anybody know why this is? The child cursors still appear to be active, and using overrides or listeners to force the groups to stay expanded regardless of collapse attempts doesn't work either (except to block the user from changing the state when it is expanded, as would be expected).
I can update my post to provide my code or layouts if anybody requires.