Implementing FloatingGroupExpandableListView in a listview consisting 2 types of headers

前端 未结 2 1652
野趣味
野趣味 2021-01-15 18:53

I tried to implement FloatingGroupExpandableListView but I was unable to modify it according to my custom listview.

The below code implements 2 types of headers in t

2条回答
  •  不要未来只要你来
    2021-01-15 19:31

    Take a look at this implementation: https://github.com/beworker/pinned-section-listview It requires your adapter to implement interface with only one method:

    public boolean isItemViewTypePinned(int viewType)
    

    So you could easily integrate this library into your code.

提交回复
热议问题