Reputation: 21
I've create the android application using listactivity..in my program i have the spinner inside the listview..i don't know how to use and get the value from the spinner..pls tell some idea ..Thanks in advance..
Upvotes: 1
Views: 557
Reputation: 14600
The type of view your spinner is in does not effect how you get the value of it. You basically have 2 choices depending on your needs.
Another quick note in regard to listeners and listviews - keep in mind that if you're extending your own adapter class to customize your listview, you can create the listeners, store them in an object and then assign them in the getView() method of your adapter class.
Upvotes: 1