How to change dynamically a ListView's item layout
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.
精彩评论