博客
关于我
AutoCompleteTextView输入搜所框
阅读量:188 次
发布时间:2019-02-28

本文共 314 字,大约阅读时间需要 1 分钟。

 

//输入,可自动搜所String[] searchList = {"a1","aa1","b1","bb1","c1","c2","123"};AutoCompleteTextView autoCompleteTextView = findViewById(R.id.edit_layout_auto_compelete);ArrayAdapter
adapterArr = new ArrayAdapter
(this,R.layout.auto_complete_layout,searchList);autoCompleteTextView.setAdapter(adapterArr);

转载地址:http://itqn.baihongyu.com/

你可能感兴趣的文章
Mysql之主从复制
查看>>
MySQL之函数
查看>>
mysql之分组查询GROUP BY,HAVING
查看>>