开发者

How to search ListView in Android (Contact's style)

开发者 https://www.devze.com 2023-02-20 01:43 出处:网络
I have a question regarding application I am building. I have a custom listview defined.It is backed with the DB data.

I have a question regarding application I am building. I have a custom listview defined. It is backed with the DB data.

I want that I could press search button and that search would appear (the same way as it is done on contacts list), but I have no idea how to handle that. I like search type in contacts a lot because it is changing while typing.

I would be pleased with a开发者_运维问答ny advice.

Thank you a lot!


You can do that in two steps:

Build a filterable list - How to dynamically update a ListView on Android

And create a search interface.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号