v5.0.0-rc4
Pre-release
Pre-release
⚠️ Warning: If you come from previous versions/snapshots, with this update you MUST review your code. Please, follow the Wiki page Migrations.
Deprecations / New Behaviors
- Resolved #501 - Some Common, Helper and Util classes have been moved to a new UI Extension library: this made the Adapter library thinner and without the direct dependency of Support Design library. The package signature remains the same.
implementation 'eu.davidea:flexible-adapter-ui:1.0.0-b1'
- Resolved #438
UndoHelper
: Use of newAction.UPDATE
doesn't remove items from the Adapter RefactoringOnUndoListener
intoOnActionListener
. - Resolved #503 - Forward scrolling and Reverse scrolling are now independent (deprecated old methods).
Improvements
- Resolved #503 - Forward scrolling and Reverse scrolling are now independent (new methods involved).
- Resolved #506 - Added IFlexible method callbacks when
onViewAttachedToWindow()
/onViewDetachedToWindow()
are called by RV. - The method
removeListener(@NonNull Object listener)
can now accept the instance of the listener or theClass
object (as before) if the instance is not available. - Upgrade to Android Studio 3.0.0 and Support Lib 27.0.2.
Fixes
- Fixed #475 - Custom and default divider gone in RC3.
- Fixed #477 -
ExpandableViewHolder#onClick
should always callsuper()
. - Fixed #481 -
highlightText
andhighlightWords
text loose the upper case during the scan. - Fixed #484 -
bindViewHolder
method is causing a problem with GreenDao. - Fixed #490 - Automatically fetch first result on load more, scrolls the RecyclerView.
- Fixed #492 - NPE when expanding item with auto-scroll.
- Fixed #499 - Sticky Header can only be updated once.