Could anybody tell me, please, why Picasso doesn't indicate debugging? I have following code:
Picasso.with(MyActivity.this.getApplicationContext()).setDebugging(true);
Picasso.with(MyActivity.this.getApplicationContext()).load(message).into(imageView);
And no indication at left-top corner of picture. In the same time, debugging mode works fine in same application with same context (but for different images). Small ones 150x150 are indicated, but large ones (1400x1400) are not. Does the size of images has matter? Thank you!
Picasso allows for hassle-free image loading in your application—often in one line of code! Picasso. get(). load("https://i.imgur.com/DvpvklR.png").into(imageView);
Changed to setIndicatorsEnabled(true);
DEBUG INDICATORS
For development you can enable the display of a colored ribbon which indicates the image source. Call setIndicatorsEnabled(true) on the Picasso instance.
Reference : http://square.github.io/picasso/
Ex:
Picasso picasso = Picasso.with(context);
picasso.setIndicatorsEnabled(true);
//do other stuff
picasso.load(xxx).into(imageView);
It works in large images too, but because the resolution of the images are large, you can't see the triangles.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With