I have an AutoCompleteTextView. I set its adapter by extending a CursorAdapter.
After selecting an option from the dropdown, I like to know the position of the item, or the item, that was selected. At least, I want an id for fetching more data in Sqlite.
How can I do that?
I have an AutoCompleteTextView. I set its adapter by extending a CursorAdapter. After selecting
Share
Simply override the AutoCompleteTextView’s OnItemClickedListener to find the
positionof the item in the dropdown list or the SQLite rowid: