ExpandableListView is showing indicator for groups with no child

前端 未结 3 610
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 02:12

I\'m creating an ExpandableListView with data from a database. For that, I\'m using a CursorTreeAdapter and I populate it with a Cursor

3条回答
  •  别那么骄傲
    2021-01-13 02:31

    Why not leave the groups with no children out?

    Change your query to give you only groups that will have children.

提交回复
热议问题