ShamylZakariya / StickyHeaders

Adapter and LayoutManager for Android RecyclerView which enables sticky header positioning.
MIT License
1.4k stars 185 forks source link

Add notifySectionHeader* #49

Open BraisGabin opened 7 years ago

BraisGabin commented 7 years ago

We have the notifySectionFooterInserted, notifySectionFooterRemoved and notifySectionFooterChanged.

But we don't have notifySectionHeaderInserted, notifySectionHeaderRemoved and notifySectionHeaderChanged. Add them would be usefull.

BraisGabin commented 7 years ago

As a workaround for notifySectionHeaderChanged(sectionIndex) you can use: notifyItemChanged(getAdapterPositionForSectionHeader(sectionIndex)).