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
The getItemId method is largely designed to work with Cursors that are backed by SQLite databases. It will return the underlying cursor's id field for the item in position 1.
In your case there isn't an id for the item in position 1: I'm assuming ArrayAdapter's implementation just returns -1 or 0.
EDIT: actually, it just returns the position: in this case 1.