Skip to content

v5.0.0-b6

Pre-release
Pre-release
Compare
Choose a tag to compare
@davideas davideas released this 01 May 21:08

Refactor

  • Removed isSelected() and setSelected() from IFlexible interface.
  • Deprecated and removed getSectionableOf() in favor of the new getSectionItems().
  • Improved instance state on rotation.
  • Renamed package eu.davidea.examples in eu.davidea.samples.

Improvements

  • Brand new Swipe-To-Dismiss implementation: added custom rear views Left/Right! [See #21].
  • Added UndoHelper [See #29].
  • Added ActionModeHelper [See #30].
  • Added EndlessScroll/OnLoadMore, using adapter binding, not scroll listener! [See #43].
  • Modified DividerItemDecorator to accept a custom resource and gap between sections [See #60].
  • New methods: addSection(), addItemToSection() [See #62].
  • Improved isEnabled() on IExpandable items.
  • Improved methods getSectionItems() and getHeaderItems().
  • Support for StaggeredGridLayoutManager when using Adapter Animation.
  • Added possibility to filter Header item AND to keep the header also if a subItem has been filtered in [See #73].

Multi-level expansion

  • Added possibility to chain Expandable items into others expandable [See #63].
  • Item restoration works in multi-level expansion: expanded children are forced to collapse before restoration.
  • Selection coherence in multi-level expansion.

FastScroller

  • Added a small gap between bubble and handle.
  • Auto handling a change of a new LayoutManager when FastScroller is configured. Now FastScroller should work in every situations.
  • Added SmoothScroll for GridLayoutManager and optimized smooth scrolling classes.

Fixes

  • Fixed inconsistency bug when expanding/collapsing sticky header items not fully visible.
  • Fixed StickyHeaders with GridLayoutManager when all sub-items of a section fit the single row of span count [See #61].
  • Fixed #74: Initialization of the stickyHeader is laid out in post.
  • Fixed the automatic linkage for headers and sections when delete and undo.
  • Fixed the automatic linkage for headers and sections. Force collapsing when dragging expandable.
  • Fixed NPE when setting a null FastScroller instance [See #66].
  • Fixed new position in addSection().
  • Adjusted behaviours for swipe and drag view activation.
  • Fixed the delay on the 1st item when animating the view.

Demo App

  • Big code reorganization using fragments [See #36].
  • Fixed #64 for demo app for API < 23.
  • Enabled Header and Sections example with Design BottomSheet.
  • Enabled FragmentSelectionModes example.
  • Enabled Instagram example with Endless Scroll with Glide lib.