v5.0.0-b6
Pre-release
Pre-release
Refactor
- Removed
isSelected()
andsetSelected()
fromIFlexible
interface. - Deprecated and removed
getSectionableOf()
in favor of the newgetSectionItems()
. - Improved instance state on rotation.
- Renamed package
eu.davidea.examples
ineu.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()
onIExpandable
items. - Improved methods
getSectionItems()
andgetHeaderItems()
. - 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