Using Firebase to print a list

Good Morning Forum Members, I just started using firebase recently and I’m trying to figure out how to retrieve the data and print it out using listview. I’m completely lost so any help would be nice and greatly appreciated. Thanks in advance!

1 Like

Look at this regarding more info about FireBase

Via Google i found this video very easily.

So I was able to save the data to firebase now how would you display the data in list view

You will need to show what and how your data is saved.

You would call back the data from Firebase using the get Tag / get Value / got Value blocks
If the data is a list, then you can set a listview elements to this list
(note the data may require some manipulation to get it into a suitable list format)

1 Like

This is how I saved it to firebase

OK, you are not saving a “list”, but a string. Also you do not need all the local variables, just plug the textboxes directly into the list.

Here is a simple example:

You will note that I included the tag name in the list

Also, you might want to read this:

Use different screens wisely

If you decided to use different screens, then you should switch them correctly, else you will run out of memory after a while...      
The recommended method of switching screens in App Inventor
(Thanks Taifun)
 
Also see demo: multiscreen.aia
 

Thank You very much for responding. I would normally just put it all in one screen, but the person I’m designing this app for wants the information displayed separately. Thanks again!