How to control lebel of a button from data base status of firebase .
Can you share a screenshot of what you’ve tried so far?
Have you followed our docs on setting up the RealtimeDB correctly?
2 Likes
after going through docs .yes did all that. now the problem is how do i add multiple addlistners ? for multiple number of buttons.
Instead of a listener for a single value , you could add a list of values. Then
If an item changed
Based on the position in the list make changes accordingly