How To Filter Android Listview Items With Firebase Query?
I am using firebase startAt query but It does not doing right filtering for instance if i want to search product name 'Milk' it did'not showing item named 'milk' because of lower c
Solution 1:
Firebase is not a search engine. Trying to pretend that it is, will just lead to an awful experience. But it is a NoSQL database, which means you can build many types of applications on it. Including many search scenarios.
You have two main options:
- Stay within Firebase
- Use an external search engine in combination with Firebase
If you stay within Firebase, you'll have to store the data in the way you want to query it, i.e. store them all lowercase and then translate the search terms to lowercase too.
See also:
Post a Comment for "How To Filter Android Listview Items With Firebase Query?"