I have a parent ListView shown with items based on a custom layout. When a user clicks on any item then I need to add a child ListView to that item and should display the overall item of the parent ListView with expanding animation. [All data need to be added dynamically]
Any suggestions….
I have a parent ListView shown with items based on a custom layout. When
Share
Simple you can add your item in a layout (via xml or code) and show(hide) with animation. Here is example from Udinic. It had listview item expand with animation and require API level only 4+.
This example’s so simple. You only define your item in
linearlayoutcalledtoolbarExpandAnimationExample
in onItemClick event use ExpanAnimation
Detail usage is in project.