Once filled you can't change a given item.
You would need to clear the Spinner and repopulate it with the new data.
Or use a SQL query and populate the Spinner directly with the additional data.
thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this?
thanks klaus, but in all cases, however, I can only add value to the spinner, I don't know how to add a text or more text (value) and id (to serve as a key) invisible. There'is a way to do this?
You can use an array for this, or a list containing ids and their corresponding items. Another way is to place the id in the spinner itself, using a separator string, in case the end-user doesn't bother to see this.