我有这个 AutoCompleteTextView:
AutoCompleteTextView a = new AutoCompleteTextView(this);
我需要将completionThreshold 标志值设置为1,并且我想学习用java 代码来做这件事。我在google和stackoverflow上搜索了,我没有找到。
我只需要这样做:android:completionThreshold="1" 使用 java 代码。
如何做到这一点?
Best Answer-推荐答案 strong>
使用 setThreshold(int) 方法
更多信息setThreshold
关于android - 如何使用 java 代码将 completionThreshold 设置为 AutoCompleteTextView?,我们在Stack Overflow上找到一个类似的问题:
https://stackoverflow.com/questions/12920677/
|