How to get values from :firebase: Database and show them in card view?

Hi everybody :wave:

Can you please help me out with this:

I want to get some items from database
Capture

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

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

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

Actually I don’t know how to get the value (76747 :point_down:)

Can you share your blocks?

1 Like

image

This is how you will get value for 76747

1 Like

@Manbir have you looked at my this post

I hope it helps you

1 Like

I used these blocks:

1

2

3

Working Nicely.
Working on showing it on Card Views.

4 Likes

Use dynamic card views it will be better.

2 Likes

Yeah I was going to use the same.
But I don’t know how to use it :crazy_face:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.