Check:
I am trying to implement filter on my ListView
. But I am facing a very s
I have also implemented filter List View in my application. For that, I just need a snippet of code. Check it, if it helps.
editText.addTextChangedListener(new TextWatcher() {
public void onTextChanged(CharSequence arg0, int arg1, int arg2,
int arg3) {
}
public void beforeTextChanged(CharSequence arg0, int arg1,
int arg2, int arg3) {
}
public void afterTextChanged(Editable arg0) {
sendToList.this.adapter.getFilter().filter(arg0);
}
});