title: assigning hidden values to a listview item
body: <p>I have an activity that extends ListView.  I populate my list with the results of a query to the sqlite database. A list element consists of start_time, end_time, client_name and status. These are the 4 bits on info I need to display for each list item. </p>
  
  <p>My question is: Is it possible for me to assign hidden elements to this ListView item?</p>
  
  <p>For example, I want to store the _id field of the database row for that ListView item, so that when I click it I can start a new activity based on data for that database row.</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>The Code I use to fill my list from my Cursor:</p>
  
  <pre><code>String[] columns = new String[] {VisitsAdapter.KEY_CLIENT_FULL_NAME, VisitsAdapter.KEY_STATUS,VisitsAdapter.KEY_CLIENT_START_TIME, VisitsAdapter.KEY_CLIENT_END_TIME};
  
  // the XML defined views which the data will be bound to
  int[] to = new int[] { R.id.name_entry,R.id.number_entry,R.id.start_time_display,R.id.end_time_display  };
  
  SimpleCursorAdapter mAdapter = new SimpleCursorAdapter(HomeScreen.this, R.layout.list_element, cur, columns, to);
  </code></pre>
  
  <p>Where R.layout.list_item is the XML for my list item. I come from a PHP/HTML background so what I would typically do here is have a hidden field to hold my _id value that I could then access once the list item was clicked. can I do something similar in android? can I put a hidden _id field in my xml layout?</p>