You need your adapter to adapt the Filterable interface and then override the getFilter () method. In fact, the ArrayAdapter offers a simple Filtrable implementation, you can check the source code of the ArrayAdapter to find out how it works.
Chinaman
source share