Setting asynchronously an image downloaded from a url with Picasso in an android Preference.

Photo by Julie Kwak on Unsplash

Synchronous requests are easy to read and debug. The thread freezes until you get a response back. You handle errors and that’s it.

The thing is that we want users to continue interacting with the application while the program waits to get a response back. The error handling and debugging becomes a bit more…