Try this
@Override
public void onTextChanged(CharSequence s, int start, int before, int count)
{
myCursorAdapter.getFilter().filter(s.toString());
myCursorAdapter.notifyDataSetChanged();
}
It appears to me that you need a FilterQueryProvider :)
myCursorAdapter.setFilterQueryProvider(new FilterQueryProvider() {
@Override
public Cursor runQuery(CharSequence constraint) {
String partialValue = constraint.toString();
return itemData.getAllSuggestedValues(partialValue);
}
});
Check this - Using an EditText to filter a SimpleCursorAdapter-backed ListView