博客
关于我
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/

你可能感兴趣的文章
nginx + etcd 动态负载均衡实践(二)—— 组件安装
查看>>
nginx + etcd 动态负载均衡实践(四)—— 基于confd实现
查看>>
Nginx + Spring Boot 实现负载均衡
查看>>
Nginx + Tomcat + SpringBoot 部署项目
查看>>
Nginx + uWSGI + Flask + Vhost
查看>>
Nginx - Header详解
查看>>