How to receive all Firebase Storage images and display in a listview

1

I have several images captured via camera or gallery that was uploaded via app in Firebase Storage, using Glide to display images, but only manually (added one by one in the hand), and my up-loaded images are named with the datatime. I need a template to capture all of the images and display them in a listview. Using the snapshot I did with text data and it worked. But with the storage how can I do?

    
asked by anonymous 19.07.2017 / 05:32

1 answer

2

Unfortunately the Firebase API does not have a method to list all the files in a reference.

What you can do (and that I needed to do once) was, with each upload, I saved the url to download the image in a reference in the Firebase database.

When I needed it, I would read this reference that had all the URLs and moved to Glide to load the images.

    
21.07.2017 / 20:04