u need to create an array in the resources ( values\arrays.xml ) with
the values u want the spinner to show
and create a SpinnerAdupter with this array....
u can see an example in the samples comming with the android sdk
( ApiDemos ) and from the spinner u can take
the indx of the item.

On Sep 29, 5:40 pm, Lonzo1968 <[EMAIL PROTECTED]> wrote:
> How do I setup a Spinner to have a  Text Value and an Associated Id
> ( similar to what you would see in an HTML Select Tag ). I want to
> display a Client Name in the Spinner, but I want to save the Client_Id
> associated with the Name.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to