开发者

Convert ListView to ExpandableListView

I've got an Activity with a ListView, filled with the help of an Adapter, that extends a param开发者_JAVA技巧eterized ArrayAdapter<A>. Class A, that parameterizes this Adapter encapsulates a List of objects of class B. I want my ExpandableListView to contain objects of class A as groups and objects of class B to be their children. Is there a simple way to perform this conversion? I was not able to find any classes, implementing ExpandableListAdapter, that can be parameterized.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜