在ListView控件与EditText上搜索 [英] Search in ListView with EditText
问题描述
我有一个的ListView
。它的每一行包含3 的TextView
's和按钮
的。以上是我有一个的EditText
。我如何过滤我的的ListView
在第一个的TextView
每一行的值?
I have a ListView
. Each row of it contains 3 TextView
's and 2 Button
's. Above it I have an EditText
. How can I filter my ListView
by the value in first TextView
of each row?
推荐答案
按照链接
http://marakana.com/forums/android/learning_android_book/617.html
的http://androidsearchfilterlistview.blogspot.in/2011/06/android-custom-list-view-filter.html
<一个href="http://stackoverflow.com/questions/1645209/how-can-i-filter-listview-data-when-typing-on-edittext-in-android">How我可以过滤的ListView数据的EditText android的打字时
<一个href="http://stackoverflow.com/questions/1737009/how-to-make-a-nice-looking-listview-filter-on-android">How做一个好看的ListView过滤器在Android
这篇关于在ListView控件与EditText上搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!