Wednesday, August 12, 2015

Show Image Using Picasso in Android

Picasso is powerful Image Loading Library in Android, it caching image and manage memory automatically and large image easily handle in Android.


Working with Images In Android:

In Android handle many Image and manage them is complex, some time "Out Of Memory Error Occur" due to large size Images and we need to recycle and free memory after image load.


For use picasso first download .Jar Library Click here to Download  

ImageView  imageview;
Context       mContext;

String url;

When we have URL then.

Picasso.with(mContext).load(url).into(imageView);

Drawable Image set  Using Picasso:


Picasso.with(mContext).load(R.drawable.ic_launcher).into(imageview);


Note: If any problem to Implement then Please Comment.
Thank You !!

No comments :

Post a Comment