开发者

ArrayAdapter containing a ListView : possible

I've a ListView containg an ArrayAdapter. This ArrayAdapter contains another ListView. The second listView is not display completly and I've some strange behaviour.

So my question : can we do create a ListView containing开发者_运维技巧 itself another listview on each line ?

Thanks


You CANNOT put ListView, GridView etc inside each other, or inside a ScrollView. Use an ExpandableListView if you'd like grouped items in a list, or please explain further the UI you are trying to achieve.

See my post here: Showing recursive lists inside a tab view for some info on what you're trying to achieve.


Does an ExpandableListView do what you need?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜