I am trying to upload and upload an image for a user profile when I save a photo. I save it with userId, so I can replace it every time it changes its photo. Now I need to get this photo using picasso, the fact is that I don’t know how to get the photo, it can have different formats and other things like jpeg, png, I just want to get the image when the user ID matches, I tried this:
storageRef = storage.getReferenceFromUrl("gs://friendlymanager-3b7a2.appspot.com");
Picasso.with(UserSettings.this).load(storageRef + "/Photos/" + userId).into(userImage);
my userImage is my image, I do not receive any erros just a blank image, I already have a photo for a specific user.
Any help?
user7734645
source
share