Set image using Firebase database

Asked

Viewed 31 times

0

I need the image that’s stored in the Storage Firebase appear in the listview customized. However, I cannot define the image in the format gs://<Seu banco><childs>.

I’ve tried using the Picasso and the Glide, but both need the image URL, ie: http://... And I can’t get that URL.

The code is this: https://github.com/VitorSantos1996/LivrariaFireBase

If you have the format to define gs://.. it will become easier.

  • Already tried https://firebase.google.com/docs/storage/android/download-files?hl=pt-br#download_data_via_url ?

  • Yes, but I couldn’t do it, my getUid is returning null I don’t know why.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.