我正在开发一个使用AutoCompleteTextView
小部件的Android项目,该小部件可以从 db
填充。在模拟器中,测试时会显示列表中的所有数据。但是当我在设备上测试它时,在我输入前3个字符后它没有列出所有数据。我不知道问题是什么。
productTextView = (AutoCompleteTextView) findViewById(R.id.prodName_CB);
productTextView.setThreshold(2);
ClearableEditText.createClearableWidget(productTextView, x);
productTextView.setTypeface(tf);