开发者

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

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜