Hello,
In my app i need extract name and age to each user after search, show it in a list view, but when get results, all name and age repeat in list view.
nome= name
ages= idades
My blocks:
My app:
Hello,
In my app i need extract name and age to each user after search, show it in a list view, but when get results, all name and age repeat in list view.
nome= name
ages= idades
My blocks:
My app:
When fire base get tag list, you might want to put it inside the if not empty logic at the top.
For your repeated items
It’s because you the logic "for each number from 1 to length of list” is run every time you call firebase.
dont use make a list block, use add to list, and set global variable to create a empty list in default, not empty text.
How can i resolve "for each number from 1 to length of list?
You forget to add “length of list” in the block that says “for each number from 1 to length of list “lista”
Thanks, but i received de same issue, no error, but the blank screen, maybe the block don’t get values.
Can you send a screenshot of how your Firebase data are stored please.
Hello,
I figure it out this morning, it works fine now on my device. Check it out
( Button 1 is just for me, so i could creates the tag to test it.)
Hello,
Thanks so much i will test it and tell you soon.
Now i’am at work.
Thanks again.
Work perfect, thanks you helped me alot
You are welcome, happy to help .
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.