Stupid question:
if context can be obtained from imageView itself, why bother passing it explicitly? what would be wrong if Picasso did something like this:
Picasso.load(url).into(imageView);
instead of
Picasso.with(context).load(url).into(imageView);
?
A context is used to initialize the disk cache, load local resources, and communicate with content providers and into
isn't always the action method that's invoked. There's also get()
and fetch()
.
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