简体   繁体   中英

ExpandableListView with fixed groupView while scrolling

I'm using an ExpandableListView in my app and I everything is working fine. Although, every groupView contains a large number of children and when the groupView is expanded and the children displayed, I would like the groupView to stay on top while scrolling down the list. In other words I'm looking out for a way to avoid that the groupViews and the children views are treated as a unique list when one groupView is expanded. Is there any way to achieve that?

If you are set on using the ExpandableListView you might be able to have some logic that adds your view to a view above the list view altogether.

HEADER VIEW then ListView

when a user clicks the group set the header view, which sits above the list view, to the group.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM