-2

Hi in my application i need to download some images and text from the web and need to display in listview. for that i'm using POJO class means initially storing all the images in to the POJO class and then display in listview

It is good for less images but while downloading more than 100+ plus images it taking too much of time to load,

can anybody suggest some good solution for this.

Eyes
  • 7
  • 1
  • 8

2 Answers2

1

You can use the following libraries which are able to do lazy loading :

  1. UrlImageViewHelper
  2. Universal Image Loader
  3. Picasso

All these libraries are lazy loading ready which means these libraries can reuses views in widgets like ListView and GridView.

Vipul Purohit
  • 9,807
  • 6
  • 53
  • 76
  • Thank you i'm expecting like this only,can u provide me some sample code – Eyes Jan 28 '14 at 05:29
  • Just visit their GitHub page add their .jar lib to your project and you will be able to use them. Download their sample projects they have all the code you want. – Vipul Purohit Jan 28 '14 at 05:33
0

Try to use AsyncTask() method.Since it is doing its process in background it may work quicker.

Sunil Sunny
  • 3,949
  • 4
  • 23
  • 53