Skip to content

v3.0

Latest
Compare
Choose a tag to compare
@saket saket released this 01 Apr 06:42
· 3 commits to master since this release

Nested Scrolling

As the highlight of this release, InboxRecyclerView now supports nested scrolling! Manual interception of pull-to-collapse gestures for scrollable content is no longer needed as long as your app uses nested-scrolling aware widgets such as NestedScrollView, RecyclerView, etc.

InboxItemExpander

If you aren’t a fan of using adapter IDs for expanding list items because it’s not 2020 anymore, InboxRecyclerView now lets you supply any Parcelable type using a custom InboxItemExpander. You can read more about it here: Custom expansion keys.

Haptic feedback

This release introduces PageCollapseEligibilityHapticFeedback that can play haptic feedback during a pull-to-collapse gesture to indicate when the page can be released to collapse.

Breaking changes

For apps that use a custom DimPainter, this release unfortunately introduces a breaking change to the function signature of DimPainter#cancelAnimation().