Skip to content

v2.0.0-beta1

Compare
Choose a tag to compare
@saket saket released this 18 Aug 21:00
· 179 commits to master since this release

Improvements

  • InboxRecyclerView and its ExpandablePageLayout 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 its InboxRecyclerView, 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)