Hi All,

I'm not sure if I'm going in the right direction or not.

I want to create a spinner that contains State names like Alabama,
California, etc. I need to associate the state codes with the names in
the spinner e.g. Alabama = AL, California = CA. I do not want to
display the state code.

When the user selects a State in the spinner, in the onItemSelected
event I want to be able to retrieve the state code associated with the
user's selection.

I need to do this with a five or six different spinners where I
display a list of values but need to perform operations based on the
normalized value associated with the selection.

Is this possible and is using a SimpleAdapter with a ViewBinder the
way to go?

I appreciate any help I can get.

Thanks everyone,

Greg

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