Case insensitivity automatically terminated in android

I am using an example from http://developer.android.com/resources/tutorials/views/hello-autocomplete.html . Is there a way that I can make case insensitive? I do not want to double the size of the array by adding every possible version of the string.

PS: Is there a way that I can control non-English text here? My Android keyboard is English.

+6
source share
1 answer

I feel this link will help you, Custom adapter auto-complete

In this approach, you define a custom adapter for use in AutoCompleteTextView, this adapter is filtered using a custom filter, which is also defined by you.

I tried this and it works.

Hope this helps.

+3
source

Source: https://habr.com/ru/post/904663/


All Articles