Android : List View or SPinner
<p>Team, </p>

<p>I would like to know how to display a List View or SPinner using key and value pairs in Android platform. For example take Contacts Contact has id, First Name, LastName, i would like to display First Name and Last Name in the list view or  in the spinner, </p>

<p>id1, lastname1, firstname1
id2, lastname2, firstname2
id3, lastname3, firstname3</p>

<p>Once the user selected any value in the List view or spin list, I need to get the key value from the List view or spinner. </p>

<p>How to do it? </p>

<p>Any help or examples is greatly appreciated.</p>

<p>Thanks, 
Ramesh</p>
