ShamylZakariya / StickyHeaders

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

Wrong ItemViewHolder.getPositionInSection() value #25

Open musicha opened 8 years ago

musicha commented 8 years ago

Since ItemViewHoldersetPositionInSection(positionInSection) is only called in onBindViewHolder the method ItemViewHolder.getPositionInSection() returns wrong value when new items were inserted and SectionAdapter.notifySectionItemInserted was called.