tags:

views:

204

answers:

1

my app have a spinner and also have reset button. how to update the values while clicking on button?

+1  A: 

Set a new adapter on the Spinner via setAdapter(). Or, if it is an ArrayAdapter, use add(), insert(), and remove() to modify the data. Or, if it is a CursorAdapter, requery() it to get fresh data.

Since you elected not to tell us what "update the values" means, we can only guess.

CommonsWare