I am using an AutoCompleteTextView in my app which gives countries names suggestions. My autocomplete is matching the entered text with every word in the suggestions list. For example, if I enter the two letters "ar", I get "Saudi Arabia" as one of the suggestions.
Is there any way to make the AutoCompleteTextView tries to match only starting from the first word? i.e. the suggestion must start with entered text, in case of my previous example, I get suggestions like "Armenia", "Argentina" & "Aruba" only.
No comments:
Post a Comment