views:

247

answers:

1

I am having custom Listview. Every row in listview contains image and textview.

After finishing the page I want to execute a thread which will get the reference of all the rows then will extract imgeview and set resource image as lazy loading image.

I just want to know how to get every row's image view so that I can set image resource in it. Any idea ????

A: 

It sounds like you want to make a custom Adapter (specifically, http://developer.android.com/reference/android/widget/BaseAdapter.html">BaseAdapter, not a custom ListView. When you create your own BaseAdapter you can use it to customize how each row is rendered in a regular ListView, by implementing Adapter's getView().

Check out the API Demos' List4 demo for how to create a custom BaseAdapter.

Daniel Lew