【发布时间】:2010-06-29 13:17:05
【问题描述】:
我正在制作法律术语表,我希望能够通过在编辑框中键入来缩小列表中的结果,我已经尝试找到解决方案,但没有一个对我有用。
【问题讨论】:
-
你尝试过什么?你能发布一些代码sn-ps吗?它有助于找到你挂断的位置。
-
我试过Hamy的教程:stackoverflow.com/questions/1737009/…ListView lv = (ListView) findViewById(R.id.list); lv.setAdapter(new ArrayAdapter
(this, R.layout.list_item, Load.getInstance().getTerms()));我有那个和一个指向文本观察者的编辑文本,我知道我需要 ontextChanged();但我不知道是什么
标签: android listview filter editbox