autocompletetextview doesn't suggest what I want
问题 I am loading around 20,000 strings from a xml, besides that it takes very much time until the app really makes me a suggestion, when I type Cra it shows me the first suggestion Valea Crabului and i have Craiova in the strings but that is suggested later. How can a AutoCompleteTextView suggest me only the words that match the whole word ? 回答1: If you are using ArrayAdapter for your AutoCompleteTextView , than here you can see default implementation of the filter for ArrayAdapter https://github