Android performFiltering in AutocompleteTextView filters null when below threshold -


the setup:

  • i have autocompletetextview custom arrayadapter , filter bound it.
  • i have set autocomplete threshold 3 xml using completionthreshold attribute.

the funny thing that, every time constraint length less threshold value, android calls performfiltering method null constraint.

this indeed implemented in autocompletetextview (line 789): http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/android/4.4.2_r1/android/widget/autocompletetextview.java#783

can give explanation on such behaviour?


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -