Doist / Doist/RecyclerViewExtensions
StickyHeaders not updating layout with StickyHeaders.ViewSetup
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 494
- Forks
- 43
- PR merge metrics
- No merged PRs in 30d
Description
I use StickyHeaders.ViewSetup with setupStickyHeaderView method.
Everything works fine if i scroll RecyclerView very slowly. When i scrolling it fast, bindStickyHeader method in StickyHeadersLinearLayoutManager class replaces my modified header item with original header item. All my changes to the header view in setupStickyHeaderView disappear.
Is it possible to fix this issue?
This issue i can reproduce on Android 9 phone.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with StickyHeadersLinearLayoutManager and its bindStickyHeader method, then inspect how StickyHeaders.ViewSetup and setupStickyHeaderView interact during fast RecyclerView scrolling. Reproduce the issue on an Android 9 device with slow and fast scrolling, and verify that changes made in setupStickyHeaderView remain visible after binding.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100