• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Get ID and Value in AutocompleteTextView

techlearn

Member
Jun 24, 2011
62
6
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.
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones