How to implement getFilter on a BaseAdapter?

前端 未结 7 842
半阙折子戏
半阙折子戏 2020-12-06 03:55

I am trying to implement a getFilter() on a base adapter to filter out search results on a List. Is there any example of how to implement a getFilter()?

MainActivity

7条回答
  •  甜味超标
    2020-12-06 04:17

    extend your class with ArrayAdapter,then override methods,and create object of filter class and return with it.

提交回复
热议问题