Image Loading Problem. ??? Images take time to download and display ??

Standard

Best Solution is use Picasso lib (Picasso.jar)

Picasso Library(Free) to take care of everything for you. You just add one line of code! Very easy and simple! There are lots of lib are available . valley.jar is one of the best lib. But i thing Picasso is very simple and easy to use  .

Single line Code:

Picasso.with(context).load(image_url).placeholder(R.drawable.circle_process)
.error(R.drawable.gpimage_error)
.into(holder.gpimage1);

Sample web service integrated application image like FB feed.

Sample web service integrated application image like FB feed.

Picasso lib Details:

Picasso is a powerful image downloading and caching library package which you include in your app build. It simplifies working with images, reducing the code that you need to use to one line of code.

it’s free and Open Sourced? Check out the Picasso website

useful reference article and tutorial sources:
1) Picasso website
2) http://www.101apps.co.za/articles/using-bitmaps-efficiently.html

Leave a comment