I have a ListView using a custom ArrayList adapter - what's the best way to implement filtering ? Anyone have a example code to study?

前端 未结 4 2083
一个人的身影
一个人的身影 2020-12-10 00:46

Subject says it all. I have seen examples implementing a custom Filter. The Android developer docs talk about implementing a Filterable interface. Does anyone have any advic

4条回答
  •  情深已故
    2020-12-10 01:23

    I looked at some sample code from other developers and learned a lot by simply reading through the source for ArrayAdapter. Armed with that info I managed to implement my own filtering.

提交回复
热议问题