1
I used the documentation provided by Firebase and still did not understand how to download a file that is in Storage by my app.
1
I used the documentation provided by Firebase and still did not understand how to download a file that is in Storage by my app.
0
Use a library that comes with Firebse Torage. In your build.Radle add the line below in dependencies so you can use this firebase feature:
implementation 'com.firebaseui:firebase-ui-storage:0.6.0'
Then reference the file you want to transfer and download it using the Glide library. Will be downloaded and cached.
The example below download a photo and click on an Imageview:
Glide.with(MainActivity.this)
.using(new FirebaseImageLoader())
.load(imagemRef)
.into(imageView)
Browser other questions tagged java android firebase
You are not signed in. Login or sign up in order to post.