android - How to create complex ListView with grouped items? -


i'm trying create listview adapter grouped contents. cannot use multiple types of list items, because i've got complex design(image not real design, layout):

enter image description here

you can see image, there list item views inside group view. , group view has set background whole group, not header. therefore cannot use expandablelistview either: http://www.mobiledevguide.com/2012/09/how-to-work-with-android.html.

is possible somehow possible implement design using few inflated elements, , on-demand content population these elements listview does?

or need implement whole widget on own? i've took quick @ listview sources. 4k loc!

i know, similar possible using hack: 3 types of list items: header, item, last_item_of_group. , fake background of group using these different items (header,item,item,item,last,header,item,item,...), can't now!

you can try using expandable listview. http://developer.android.com/reference/android/widget/expandablelistview.html


Comments

Popular posts from this blog

Java 8 + Maven Javadoc plugin: Error fetching URL -

android - How to delete or change the searchview icon inside the SearchView actionBar? -

c++ - Msgpack packing bools bug -