Using HashMap w/ ExpandableListAdapter
I'm subclassing BaseExpandableListAdapter
to create my ExpandableListAdapter. I want to use my HashMap<S开发者_高级运维tring, ArrayList<Object>>
to make the parents the keys and the children be the corresponding values (the stuff in the ArrayList<Object>
).
Having a bit of trouble figuring out how to override all of the BaseExpandableListAdapter
methods to get this to work properly. Can anyone point me in the right direction?
精彩评论