emilsjolander / StickyListHeaders

An android library for section headers that stick to the top
Apache License 2.0
5.51k stars 1.52k forks source link

Enhancement request: Allow sticky headers on an ExpandableListView #68

Closed androidmoney closed 11 years ago

androidmoney commented 11 years ago

I don't know how feasible would this be, but it would be nice to be able to have sticky headers on an ExpandableListView. I have a couple of those and it looks strange that they are the only ones where the headers don't stick.

emilsjolander commented 11 years ago

Never really used them before so i do not know how feasible it would be. Will look into it at a later time. (currently in the process of re-writing large parts of the library)

emilsjolander commented 11 years ago

I am closing this as it is not something i have seen than enough people want. Come back with a pull request and we can probably get it in :)

alighters commented 10 years ago

How to make sure the convertView be saved to the map? DistinctMultiHashMap<Integer,View> mHeaderIdToViewMap = new DistinctMultiHashMap<Integer, View>(); When I use this to save the convertView, I found i just can save a partition of the convertView of the specific group.

lsjwzh commented 10 years ago

Why do you want to do this? convertView is only saved to map when call getHeaderView.

alighters commented 10 years ago

The problem have been solved. Thanks again.