more one value in spinner same id

gapi

Active Member
Licensed User
Longtime User
Hi all, I've a spinner (DBUtils method) with a list of values, how can add more value in one spinner's row, but with some id ?

thanks
 

gapi

Active Member
Licensed User
Longtime User
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?
 
Upvote 0

mc73

Well-Known Member
Licensed User
Longtime User
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.
 
Upvote 0
Top