how to include id of json data in listview
<p>I'm trying to figure out how I can include an id for a listview item.</p>

<p>Currently I am querying a rest api that returns a list of something similar to this.</p>

<p>{
 id : 100
 name : "John Doe"
}</p>

<p>It the listview I display all the names and once someone click on one item it forwards it to another activity where I want to use the id and get more data for that particular user.</p>

<p>So my questions are how can I get the ID and also pass the ID to the new activity. (The list is not sorted so the ids are not in order.)</p>

<p>I've read about hidden textview values and also hash maps but not sure how to use them, could someone give an example please?</p>
