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
Post a Comment