【发布时间】:2013-09-18 15:01:42
【问题描述】:
我正在为ArrayAdapter 使用过滤器。现在我想拥有以下功能:
例如,我的列表视图包含单词käuflich,搜索输入为kauf,käuflich 应显示为结果。所以 ö,ä,ü 应该另外替换为 o,a,u。
这可能吗?
这是我的简单过滤器
public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {
// When user changed the Text
Activity.this.adapter.getFilter().filter(cs);
}
谢谢
【问题讨论】:
标签: android listview textwatcher