07-31-2023, 09:21 AM
I am creating an app for android. I would like to get the number of children for a specific value in the firebase database. Then after the user clicks on a button, it will take that data convert it to a percentage, and display it in a textview. I can get the amount of children for each value and printing it to the monitor but when I use the same code and put it in a textview it prints out the last line, not all of it. So my question is how can I get the number of children for a specific value and have it be "compatible" with a textview.