开发者

android how to get every row's imageview

开发者 https://www.devze.com 2022-12-12 09:16 出处:网络
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 imge

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 th开发者_如何转开发at I can set image resource in it. Any idea ????


It sounds like you want to make a custom Adapter (specifically, 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().

0

精彩评论

暂无评论...
验证码 换一张
取 消