How to search for ListView in Android (Contacts Style)

I have a question about which application I am creating. I have a custom list. It is supported by database data.

I want me to be able to click the search button and this search will appear (just like it is in the contact list), but I have no idea how to handle this. I like the type of search in contacts, because it changes when typing.

I would be pleased with any advice.

Thank you very much!

+4
source share
1 answer

You can do this in two steps:

Create a Filter List - How to dynamically update a ListView on Android

And create a search interface .

+2
source

Source: https://habr.com/ru/post/1345537/


All Articles