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.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?