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.
精彩评论