I'm trying to display the image in CircularImageView stored in Firebase Storage, but glide gives me this error:
W/Glide: Load failed for gs://project-2d8i4.appspot.com/pictures/3HnfQSeBladDsD9sPEcKrhxJ6CB2 with size [1200x1200]
class com.bumptech.glide.load.engine.GlideException: Failed to load resource
The picture is saved in Firestore as:
"gs://project-2d8i4.appspot.com/pictures/3HnfQSeBladDsD9sPEcKrhxJ6CB2"
Binding to image view (uri = "gs://project-2d8i4.appspot.com/pictures/3HnfQSeBladDsD9sPEcKrhxJ6CB2")
:
fun CircularImageView.bindProfilePicture(uri: String?) {
Glide
.with(this)
.load(uri)
.into(this)
}
Dependencies for glide:
implementation 'com.github.bumptech.glide:glide:4.12.0'
No answers in any posts helped me whatsoever. I hope someone could help me. Thanks.