So imagine i have this structure in my firebase database:
project-id
category1
element1: “example_value”
element2: “example_value”
category2
element3: “example_value”
element4: “example_value”
In my app i have a listview. I want to set the elements of that listview to the tags “element1” and “element2”. So i have tried two things:
The fist thing i have tried is to call firebase get value with tag “category1”, and when firebase got value, i tried set listview elements to get value, but when doing this an error pops up, and i think it gets as a value this: “element1=example_value” (it gets tag + value as a whole value).
The second thing that i have tried is to use firebase get tag list. It works perfectly, but sets the listview elements to “category1” and “category2”, and i want the elements to be THE TAGS that are inside of those categories.
Any ideas for a solution?