2

I'm Developing an Application. I'm displaying Thumbnail Image and Corresponding data with the image in ListView the data and images both are downloaded and parsed through XML parsing For Displaying images I used this tutorial

Lazy load of images in ListView

But I'm not getting how to display the parsed data in ListView.

Thank you

Abhishek

Roham Rafii
  • 2,929
  • 7
  • 35
  • 49
Abhishek Karande
  • 377
  • 3
  • 10
  • 19

3 Answers3

2

This is what u should do..

  1. After parsing the data create objects for each row in listview(i.e,use a Custom Class)

  2. Iterate through all the objects

  3. Add to listView Adapter

  4. Use listview.notifyDataChanged() function everytime.

This should do the trick..;)

DroidBoy
  • 162
  • 1
  • 11
1

By using the BaseAdapter, its possible.Inflate a layout that have textviewand Image view in Listview row.

Tofeeq Ahmad
  • 11,935
  • 4
  • 61
  • 87
0

Please look in below link for the tutorial. i am sure you will get to resolve you problem on your own

http://www.vogella.de/articles/AndroidListView/article.html

Dinesh Prajapati
  • 9,274
  • 5
  • 30
  • 47