Manbir
(manbir)
January 7, 2021, 12:27pm
#1
Hi everybody
Can you please help me out with this:
I want to get some items from database
I have stored the posts which a user creates with a random Number.
and also under the same bucket, i’ve stored his name, password and points.
But i don’t know how to get all the values with the random integers from all the buckets and show them in different card views.
Example:
1st card view
hello
2nd card view
hellhfsfh
(values as in the image)
… and so on.
Please help me out with this
Thanks
1 Like
Read these topics, it may help you
Hi, Koders!
I observed that there were many queries on Firebase Database even me ! but eventually after trials and errors I solved the problem I had posted a solution to a Koder who had the same issue but I thought to make a more comprehensive guide on Firebase for begginers.
So lets get started!
Lets understand the blocks
The below warning is because there is no blocks associated with it.
[Firebase Database Data Changed]
This is an event triggered when the data changes in firebase, for exa…
Hello everyone. I’m beginner on Kodular and I need help please. I need read all tag in Firebase table “alunos” that I don´t know how many will have for after this read the tag “data” of each than. Thank you everyone that will may help me. [alunos1] [alunos2] [alunos3]
2 Likes
Use get tag list block which helps you to get all tags like random no., name, password, points from database.
https://docs.kodular.io/components/google/firebase-database/#get-tag-list
After getting tag list use get value block and set tag text to tag list.
1 Like
Manbir
(manbir)
January 7, 2021, 12:52pm
#4
Thanks a lot @ramrajput200021
But can you please tell me what I’ve to do after Get Value
I’ve done this much:
Set label.text (in the cardview) to get value
Manbir
(manbir)
January 7, 2021, 12:59pm
#6
Actually I don’t know how to get the value (76747 )
Can you share your blocks?
1 Like
This is how you will get value for 76747
1 Like
iamwsumit
(Sumit Kumar)
January 7, 2021, 1:42pm
#10
@Manbir have you looked at my this post
Use these blocks
[blocks - 2021-01-06T182550.236]
[blocks - 2021-01-06T182555.464]
[component_method (2)]
[blocks - 2021-01-06T182602.349]
[blocks - 2021-01-06T182604.845]
Make sure to set your project bucket
I hope it helps you
1 Like
Manbir
(manbir)
January 7, 2021, 1:47pm
#11
I used these blocks:
Working Nicely.
Working on showing it on Card Views.
4 Likes
Use dynamic card views it will be better.
2 Likes
Manbir
(manbir)
January 7, 2021, 1:53pm
#13
Yeah I was going to use the same.
But I don’t know how to use it
system
(system)
Closed
February 6, 2021, 1:53pm
#14
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.