Can an ExpandableListView has children without parents?
My program imports contacts from some text file and put them into ExpandableListView. The contacts list file has elements without groups, so some children will be without parents. I think that开发者_运维问答 I have only one way to use them - to put into special group, for example "No group" or "Others". Is there any other method?
And ExpandableListView without parents would just be a ListView. So, the answer to your question is no. You will have to do what you suggest: create a group to hold all the ungrouped items.
精彩评论