title: What is the intent of the methods getItem and getItemId in the Android class BaseAdapter?
body: <p>I'm curious about the purpose of the methods <a href="http://developer.android.com/reference/android/widget/Adapter.html#getItem%28int%29" rel="noreferrer"><code>getItem</code></a> and <a href="http://developer.android.com/reference/android/widget/Adapter.html#getItemId%28int%29" rel="noreferrer"><code>getItemId</code></a> in the class Adapter in the Android SDK.</p>
  
  <p>From the description, it seems that <code>getItem</code> should return the underlying data.  So, if I have an array of names <code>["cat","dog","red"]</code> and I create an adapter <em><code>a</code></em> using that, then <em><code>a.getItem(1)</code></em> should return "dog", correct?  What should <em><code>a.getItemId(1)</code></em> return?</p>
  
  <p>If you've made use of these methods in practice, could you provide an example?</p>