Judy T Raj Judy T Raj - 5 months ago 39
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


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