Judy T Raj Judy T Raj - 11 months ago 64
Android Question

How to retreive distinct items from Firebase database?

I'm writing an Android app and I need to retrieve all the distinct values of the field 'brand' from the Firebase Database given below. How do I do that?
my firebase database

Answer Source

The only way around was to create a new tree that solely stored distinct brands.