Search code examples
androidpicasso

Picasso showing colorPrimary instead of image


I'm facing a strange issue with Picasso while loading image , it worked fine till now . i'm using Picasso in many functionality on my app but somehow it starts showing the app colorPrimary instead of the image in one case only, all other use of Picasso works fine .

enter image description here

to load image 1 :

Picasso.with(context).load(suggestion.getProfilImage()).into(profil);

to load image 2

Picasso.with(context).load(suggestion.getImage()).into(image);

so as you can see there is blue color instead of the image .

Note :

the url of the image is well loaded and tested and show the image when i test it on the browser , also in some case of my app i can load the same url and it works fine .

this worked fine but somehow it doesn't work anymore , any idea guys ?


Solution

  • After getting some time with that error , i still don't know what really happened , but the problem was fixed when i cleared my app cash files !