Reputation: 597
I want to implement the autocomplete text view but with my own rules and limits
for example if I typed : "allo" and the the adapter has : "akkgg", "gggallop", "aaaa" the result will be "gggallop"
thanks
Upvotes: 0
Views: 2491
Reputation: 178
Check out this post: http://techdroid.kbeanie.com/2010/04/custom-autocomplete-for-android.html Hope that helps!
Upvotes: 0
Reputation: 24820
you can check the Apidemos AutoComplete4 example. It has a custom filtering. You will have to use runQueryOnBackgroundThread of the adapter and change its behaviour
Upvotes: 1