I'm writing a small weather app in Android Studio (Java), and I'm having trouble with the Picasso library. The images won't load, neither in the emulator, nor in the app on my test device.
I've imported the library like so:
import com.squareup.picasso.Picasso;
This is the piece of code that I'm using to get and display the image, and normally works fine:
Picasso.get().load(url).into(imgWeatherIcon);
The url works fine, so this can't be the reason for the problem.
I'm already using the Volley HTTP library for asynchronous API Get requests, which at this point is the only reason I can think of why the Picasso methods are not working.