开发者

Can i add components like spinner etc. in my listview with my listitems?

I am using a listview with n number of listitems. I have need to add a spinner with all my listitems. Is there an开发者_如何学Goy option to add the spinner dynamically. Because i can't determine the number of listitems.


Yes you can, for this you need to create a custom list adapters. See this tutorial for more information

http://www.softwarepassion.com/android-series-custom-listview-items-and-adapters/

Customize row.xml to add Spinner there as per your layout.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜