ExpandableListView with fixed groupView when scrolling

I am using ExpandableListView in my application and everything is working fine. Although each groupView contains a large number of children, and when the groupView expands and the children are displayed, I would like the groupView to stay on top, scrolling through the list. In other words, I'm looking for a way to avoid groupViews and children being viewed as a unique list when one groupView expands. Is there any way to achieve this?

+4
source share
1 answer

If you are configured to use ExpandableListView, you may have some logic that will add your view to the view above the list as a whole.

HEADER VIEW, then ListView

when the user clicks on a group, set the group that is above the list to the group.

+1
source

Source: https://habr.com/ru/post/1380804/


All Articles