AppCompatAutoCompleteTextView自动补全, 实时动态获取网络数据
1.添加AppCompatAutoCompleteTextView内容变化监听并设置自定的Adapter autoComplete.setAdapter(autoCompleteAdapter);autoComplete.addTextChangedListener(new TextWatcher() { @Override public void beforeTextChanged(CharSequence s, int start, int count, int after)
原创
2020-12-04 13:22:55 ·
744 阅读 ·
0 评论