android - Picasso loads image with triangle in corner of image -


i'm using picasso library loading images server application. problem when image loaded has triangle in top-left corner of image color(like blue,green,red). code loading image:

public static void loaddynamicimage(final string url, final context context, final imageview imageview, final int width, final int height){     picasso.with(context).load(url)             .networkpolicy(networkpolicy.offline)             .resize(width,height)             .onlyscaledown()             .into(imageview, new callback() {                 @override                 public void onsuccess() {                  }                  @override                 public void onerror() {                     picasso.with(context).load(url).resize(width,height).onlyscaledown().into(imageview);                 }             }); } 

the image shown : the image picasso loads in application

you have enabled debug indicators on picasso instance (see official website). setindicatorsenabled(true) in code , remove it.


Comments