开发者

How to change dynamically a ListView's item layout

开发者 https://www.devze.com 2022-12-25 20:02 出处:网络
I want to开发者_如何学编程 know how to change dynamically a ListView\'s item layout. To be exact, i want to know the method that the ListView\'s bindView method is called at runtime.

I want to开发者_如何学编程 know how to change dynamically a ListView's item layout.

To be exact, i want to know the method that the ListView's bindView method is called at runtime.

if the bindView method is artificially called by a other method. then i will change a ListView's item layout.

Please let me know.


You probably want to extend ListAdapter and override getView()

Here is a blogpost with an example.

0

精彩评论

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

关注公众号