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.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.