You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But only if you are not in a list/grid adapter! Requesting an image for the same imageview/target (e.g., in an adapter getView) will do this automatically. You should only need to cancel (and you don't actually need to) if you're making requests and then leaving the screen.
Picasso keeps a map of ImageView -> URL and when the same ImageView is seen twice, the loading of the original URL is canceled and and new one is started.
I have read the source codes but I think I did not get it totally.
Picasso automatically sees when views are being re-used and will cancel old downloads for that image view
My question is how the logic above is written in the codes? What are the related codes?
The text was updated successfully, but these errors were encountered:
I notice the comments @JakeWharton wrote in the previous issue.
#83
#1302
I have read the source codes but I think I did not get it totally.
My question is how the logic above is written in the codes? What are the related codes?
The text was updated successfully, but these errors were encountered: