I have a Activity that loads the profile image of the user using Glide perfectly, the problem comes when the user selects an image from their gallery. When I receive the image with ActivityForResult
, I charge the new profile image to ImageView
using the property .setImageUri()
so that I can see its new image and then upload it, but the problem is that it is not updated, the loaded image follows with Glide .
What can I do to delete the image loaded with Glide and put the other one in the gallery?
PD: Use the Glide.clear()
property but it did not work.