I used Firebase documentation and I still did not understand how to download a file that is in Storage by my app.
I used Firebase documentation and I still did not understand how to download a file that is in Storage by my app.
Use a library that comes with Firebse storage. In your build.grad, add the following line in dependencies to be able to use this firebase feature:
implementation 'com.firebaseui:firebase-ui-storage:0.6.0'
Then create a reference for the file you want to download and download using the Glide library. It will be downloaded and cached.
The example below downloads a photo and loads it into an ImageView:
Glide.with(MainActivity.this)
.using(new FirebaseImageLoader())
.load(imagemRef)
.into(imageView)