Skip to content

v5.0.0

Compare
Choose a tag to compare
@davideas davideas released this 04 Mar 17:47
· 47 commits to master since this release

⚠️ Warning: If you come from previous versions/snapshots, with this update you MUST review your code. Please, follow the Wiki page Migrations.

Improvements

  • Resolved #384 - Ability to recognize child (👶) view click.
  • Resolved #507 - New filter results callback: support for observing the current state of filtering.
  • Resolved #523 - Swipe delete, UnsupportedOperationException for immutable list on sort.
  • Resolved #540 - Multi filter: filter object can be of any type, not just String.
  • Resolved #543 - DiffUtil is back 😉
  • Added new method getItem(position, class) to automatically cast the item expected from that position.
  • Added new method setHeadersShown(boolean) to manually change the flag to indicate that headers are already inserted in the main list by the user.
  • Removed all deprecated functions!
  • Improved nullity of FastScroller instance.

Fixes

  • Fixed #512 - NPE in initStickyHeadersHolder on orientation change.
  • Fixed #521 - Fixed Sticky Headers swapping with Staggered Layout.
  • Fixed #516 - Better section gap when expand/collapse the last item of section.
  • Fixed #514 - Removed @nonnull annotation for parameter in addListener and removeListener methods.
  • Fixed #547 - Invalid first page number when initializing with empty list/null.
  • Fixed #552 - Scrollable Header appears under main items in endlessly scrolling list.

UI extension

  • Added EmptyViewHelper #439.

LiveData extension

  • Added Comparator to sort items when using FlexibleItemProvider with LiveData.