I was using an ActionSlideExpandableListView in a fragment and when replacing this fragment, before the adapter to the ListView was set, I had the above Exception thrown.
I fixed the issue by changing the onSaveInstanceState() function in SlideExpandableListView to :
Worked for me too, otherwise it was crashing on going bakcground and coming back after the fragment has been destroyed. Should it be added to official code?
I was using an ActionSlideExpandableListView in a fragment and when replacing this fragment, before the adapter to the ListView was set, I had the above Exception thrown.
I fixed the issue by changing the onSaveInstanceState() function in SlideExpandableListView to :
where it used to say "return null" in the else case. This fixed the issue for me