开发者

Using HashMap w/ ExpandableListAdapter

开发者 https://www.devze.com 2023-03-07 00:12 出处:网络
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 child

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?

0

精彩评论

暂无评论...
验证码 换一张
取 消