On Sun, May 2, 2010 at 11:39 AM, Ramesh Sangili <[email protected]>wrote:

> How to do it?


The specifics will largely depend on which you choose, but in either case
you can create a list of custom objects which contain the ID, first name,
and last name and set that as the data for the adapter of either control.

Both the list view and the spinner has a click event that indicates the
position of the item that was clicked which you can use to index your list
of objects to obtain the object the user clicked on and it's ID from there.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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