Android listview with expandable list view item -
i want have listview menu few clickable elements , last element must expandable list view item. mean when click last element, additional positions should expanded.
thank you!
dejvid
you have 3 options.
use expandablelistview every group-item have no childs-item , last group-item have child-items (they expanded when parent group clicked), there many examples arround.
use listview , inflate views on last item when called getview, know when loading last position because receive on function.
if number of items low consider using linearlayout listview , linearlayout last item.
for example
<linearlayout android:orientation="vertical"> <textview /> <textview /> <linearlayout android:orientation="vertical" android:onclik="expand"> <textview /> <textview /> </linearlayout> </linearlayout>
Comments
Post a Comment