开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜