I'm curious about the purpose of the methods getItem and getItemId in the class Adapter in the Android SDK.
From the description, it seems that getItem should return the underlying data. So, if I have an array of names ["cat","dog","red"] and I create an adapter a using that, then a.getItem(1) should return "dog", correct? What should a.getItemId(1) return?
If you've made use of these methods in practice, could you provide an example?