title: Android ListView using a key-value map type structure possible?
body: <p>I have a ListView which is populated from a string-array resource. I'm trying to figure out how I can use a key-value type of structure, so that the key is displayed in the ListView, and when a row is selected I can get the value.</p>
  
  <p>I know I could maintain a separate array for the values and do a lookup using the selected index of the row but this is hard to maintain.</p>
  
  <p>Also I think I could make a POJO and build the list with those objects with my own custom list adaptor, but I want to just use a simple xml file if possible.</p>
  
  <p>I'm reading the documentation to see if I can do this in xml but I've not found anything like this yet?</p>
  
  <p>Thanks for you time.</p>