Cancelling Image Requests using Picasso

suggest change

Cancel a Picasso request before the download finishes when the destination is gone, for example if the user leaves the screen.

Call cancelRequest() with the same ImageView you passed to into():

ImageView imageView; 

//......

Picasso.with(imageView.getContext()).cancelRequest(imageView);

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents