You might want to try adding this line just after you setup your listView
inputSearch = (EditText) findViewById(R.id.inputSearch);
listView = (ListView) findViewById(R.id.list);
..
add this
listView.setTextFilterEnabled(true);
Also Change this
@Override
public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {
MainActivity.this.objAdapter.getFilter().filter(cs);
}
To
@Override
public void onTextChanged(CharSequence cs, int arg1, int arg2, int arg3) {
objAdapter.getFilter().filter(cs.toString());
}
I also found in the emulator I had to press a letter and return to get it to work but then my emulator is currently in Chinese for some reason, don't ask....
Hope it helps
/Darren