Get ID and Value in AutocompleteTextView

techlearn

Broken In
Hi,
I am newbie to android development, I am trying to set ID value from Json object and then want to fetch ID against corresponding text. Problem is how to set Id and value in autocompletetextview and fetch them, got some articles about using custom adapters but don't know how to use them. Please provide some tutorials.

Is there any other way to do this, like by using spinners?

PS : AutocompleteTextView Data will be changed dynamically.
 
Top Bottom