for example :at first i did :draweeAvatar.setImageURI("avatar.jpg");
then i updated the 'avatar.jpg' to another picture but still named 'avatar.jpg',when i call the method 锛歞raweeAvatar.setImageURI("avatar.jpg"); it would not update,how can i update the bitmap in the draweeAvatar
There are obviously parts of the image pipeline that make the assumption that a URL will always point to the same resource.
If this isn't possible for you, there are a couple of alternatives that come quickly to mind.
avatar.jpg?c=2 where the previous version was 1)draweeAvatar.setImageURI(null) then ImagePipeline.evictFromCache(Uri) before setting the same Uri back to the avatar.I'm closing as there have been no follow-up questions.
Most helpful comment
There are obviously parts of the image pipeline that make the assumption that a URL will always point to the same resource.
If this isn't possible for you, there are a couple of alternatives that come quickly to mind.
avatar.jpg?c=2where the previous version was 1)draweeAvatar.setImageURI(null)thenImagePipeline.evictFromCache(Uri)before setting the same Uri back to the avatar.