- Fix: Scroll jump bug
- Fix: Header not displaying if there are no items in the adapter
- Headers exceeding
RecyclerView's
height (for vertical) or width (for horizontal) are no longer supported (you cannot scroll them if there's no items in the adapter)
RecyclerViewHeader 2 is a major release that focuses on fixing all of the previously reported issues.
- Attaching
RecyclerViewHeader
simplified. There's only one approach left (previously namedHeader-already-aligned approach
). - New: Horizontal
RecyclerViews
support added - Fix: Header in wrong position after reusing fragment with
RecyclerView
- Fix: Removing an item misplacing header.
StaggeredGridLayoutManager
support has been temporarily disabled. This is planned to be re-enabled in a future release.
Important:
RecyclerViewHeader
2 uses a different package (com.bartoszlipinski.recyclerviewheader2
)- Maven
group
andartifact
has been changed.
- Using
addOnScrollListener
instead ofsetOnScrollListener
RecyclerView
support library package no longer included in the library
StaggeredGridLayoutManager
support- Reversed
LayoutManagers
support - Fix: scrolling with touch starting on a focusable element of the header
- Decreased minSdk version
- Support Libraries version updated
- Fix: Removed unnecessary things
- Fix: Header clickability fixed
Initial release.