Open jasontruong opened 3 years ago
Oh, you may need to add completionView.showDropDown in onClickListener() for dropdown to show when onClick
Yes, this is correct. Threshold of 0 is ignored and supposed to be set to 1 (see https://developer.android.com/reference/android/widget/AutoCompleteTextView#setThreshold(int)). It sounds like I may have missed a spot that needs to pay attention to this.
I think you should be able to work around this by calling performFiltering("", 0)
in your subclass or calling adapter.getFilter().filter("")
on your adapter, which should reset the list.
Thank you very much! I was not aware this is by design from AutoCompleteTextView. :O :O
This can be reproduce by ExampleActivity:
If you know any way to walk around this. Please advise :) Thank you