I\'m novice at android.
My custom Adapter cause exception when filtering.
here is my code. private class DeptAdapter extends ArrayAdapter implements Filter
You are missing getCount() method, look at this demo
getCount()
I hope it will be helpful !