Fetching data from Firebase in Listview

how to display this in list view?
Barangka

barangay
car
scale
status
water level

Thank you so much

this is my blocks.

this the result. but i want the subtitles to be a 5 rows. help me please

When screen initialise
1.Set project vickey as data/Barangka
2. Call fire base get tag list

When fire base got tag list
1.Set list view elements to get value

it returns like this. i need of need to show Calumpang as well.

I cont get you… Subtitles are common but project bucker is differing… And you are expecting different bucket value under same sub title??? Can you show me what format ?

Or you can write and show…

i want it to be like this, please click this to see my Firebase database. is there a way to manipulate the subtitle?

Then this pattern is not good to you. You have to try with then web component method.

Will you add more place in future? And that places too need to display in the list?

what web component? im sorry im new to this.
i will not add more place, but i currently have 16 places.

https://docs.kodular.io/components/connectivity/web/

If you have no authentication rules then you could use Web component. Set Web1.Url to

https://<PROJECTID>.firebaseio.com/.json?

and then when Web1.GotText get responce content in json format. Afterwards you can use dictionary blocks and create lists according to your needs

Read here,if possible

https://firebase.google.com/docs/database/rest/retrieve-data

1 Like

I hope you can achieve it only if the these details must be in one bucket. Even if you use web component you will feel trouble to get data from all the cities. If you move all those details in one bucket it would be easy to suggest

Try this and see if it works for you

test_firebase.aia (5.2 KB)

1 Like

why nottttttttttt???. certainly will work… This is dora work… :+1: :+1:

@Lay_Villaruz , By using this method, you can extract all the values as mentioned in the requested format

Thank you so much. It works!

1 Like


is there a way to sort the list in descending order by using the data of water level?

Use listutils extension or colintree list extension

1 Like

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