How do I animate ListView item hights?
I have a simple ListView in my application. What I want to do on a row select is to expand it and show additional details in the开发者_开发问答re and then if some other is selected then collapse the previous one and expand the new one.
I can modify the contents list item row in onListItemClick()
method. However how do I animate the change in height of the list item row.
Is there a better way to do it? Or is there a better component still? I don't want to use the expandable list as it's not a group of child lists, instead just expanding the contents with more details.
Any help is much appreciated. Cheers
Have a look at Lazylist below this.
http://open-pim.com/tmp/LazyList.zip
i think this example is great for build your custom ListView
精彩评论