I\'m creating an ExpandableListView with data from a database. For that, I\'m using a CursorTreeAdapter and I populate it with a Cursor
ExpandableListView
CursorTreeAdapter
Cursor
Why not leave the groups with no children out?
Change your query to give you only groups that will have children.