Skip to content Skip to sidebar Skip to footer

Is It Posible To Have Separatedlistadapter Inside Expandablelistadapter?

i would like to have a separatedlistadapter like this written by Jeff Sharkey INSIDE Expandablelistadapter.. Is it possible? an adapter inside an adapter? I already have my expanda

Solution 1:

You can't do that because you can't put a scrollable view(and Jeff's custom view is essentially, a ListView) into another scrollable view(ExpandableListView). The reason is that the parent will consume all the touch events and they will never reach the child. ExpandableListView will scroll, but the SeparatedListAdapter will never know that scrolling took place.

Take a look at answers to this question it has some more detailed explanation.

Post a Comment for "Is It Posible To Have Separatedlistadapter Inside Expandablelistadapter?"