I just had work with the Picasso library, I tried to set the image as the background. The Picasso library has greatly simplified this, there is a method called "FIT ()" that will do the job for you.
One magical line from Picasso -
Picasso.with(context).load(mImageURLS.get(position)) .fit().placeholder(R.drawable.rtrt).into(mImageDownloader);
.fit () does the trick, thanks.
spurthi
source share