How to loop through nested data in firebase to make a list view


Hi my firebase database looks like this. So my i want to loop though this database and display result in a list view. how to do that?
i have two screens. on first screen its a list view to show the top level tag ie JOBS. and i am able to display that. When i click that list view it goes to second screen where there is list view with image and title. there in title and description field i want to show the name and email field value. i am unable to figure out how to do it?

Look at the blocks.
There is the control section.
And there you will find a for each block.

1 Like


I have done this and up to text box test value i am getting below data
{
“id”: 1,
“name”: “Leanne Graham”,
“username”: “Bret”,
“email”: “[email protected]”,
“address”: {
“street”: “Kulas Light”,
“suite”: “Apt. 556”,
“city”: “Gwenborough”,
“zipcode”: “92998-3874”,
“geo”: {
“lat”: “-37.3159”,
“lng”: “81.1496”
}
}

Want to set the List View Image and Text’s title field to name value i.e Leanne Graham and subtitle to email value i.e [email protected]

Use the device component and parse using the start value as “email”:" then the end value as ", and you’ll be good.

Hi can you please help me by some code block example. I am not getting how to use the device component’s device tool. And the documentation page for that is empty here https://docs.makeroid.io/components/device/device-tools/

1 Like

You dont see the Parse block in the component block section?

1 Like

No. There is no option like that

I’m pretty sure there is. I think it’s the second block?

1 Like

for each item in list