0

Am using a AutoCompleteTextView and the values for the 'AutoCompleteTextView' is not hardcoded.

The values are dynamically retrieved from the web database using web service similar to search engine suggestions.

For asynchronous process of retrieval I use AsyncTask in Android.

It is working fine now.

I need to get the id of the particular suggestion which user selects and we can use some listeners to identify the click but I can be able to get the selected item not selected id.

So I was trying to use custom adapter but it is not supported it seems, now am using SimpleAdapter which is common for auto complete textview.

Is there any other solution to get the id of selected item.

Thanks in advance.

Ion Aalbers
  • 7,830
  • 3
  • 37
  • 50
arnp
  • 3,178
  • 6
  • 26
  • 43

0 Answers0