
我有这个autoCompleteTextVIEw:
autoCompleteTextVIEw a = new autoCompleteTextVIEw(this);我需要将completionThreshold标志值设置为1,我想学习使用java代码.我搜索谷歌和stackoverflow,我没有找到方法.
我只需要这样做:androID:completionThreshold =“1”与java代码.
如何才能做到这一点?
解决方法:
使用setThreshold(int)方法
了解更多信息setThreshold
总结以上是内存溢出为你收集整理的android – 如何使用java代码将completionThreshold设置为AutoCompleteTextView?全部内容,希望文章能够帮你解决android – 如何使用java代码将completionThreshold设置为AutoCompleteTextView?所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)