v2.0.0-beta1
Improvements
InboxRecyclerView
and itsExpandablePageLayout
no longer need to be of the same dimensions and share the same parent in the view hierarchy (Fixes #10).- Support for detaching a
ExpandablePageLayouts
from itsInboxRecyclerView
, essentially making it possible to use multiple expandable pages with the same list (Fixes #32).
Breaking changes
InboxRecyclerView#setExpandablePage()
is removed in favor of exposing the properties directly:
val page = findViewById<ExpandablePageLayout>(...)
inboxRecyclerView.expandablePage = page
// This is optional. The default value is ~48dp.
page.pullToCollapseThresholdDistance = dp(40)