Skip to content

v5.0.4

Compare
Choose a tag to compare
@davideas davideas released this 01 May 12:16
· 26 commits to master since this release

FlexibleAdapter v5.0.4

Small behavior/deprecation change

  • All items inheriting from AbstractFlexibleItem are born with draggable and swipeable enabled!
  • Renamed/Deprecated method FlexibleAdapter.isEnabled(position) in favor of the new name isItemEnabled(position).

Small improvements

  • Resolved #580 - Removed final from FlexibleAdapter#removeListener().
  • Resolved #601 - Can disable manual/onClick collapsing of an ExpandableViewHolder: new method isViewCollapsibleOnClick().
  • Removed some @CallSuper in ExpandableViewHolder.
  • Updated Gradle distribution to v4.6, build scripts and library versions.

Fixes

  • Fixed #592 - Multi expandable items: Position must be increased by value returned from "expand" method.
  • Fixed #594 - Updating sticky header checks same item view type. Increased delay to 100ms, giving more time to the LayoutManager computation.
  • Fixed #597 - FlexibleAdapter.onLoadMoreComplete(list, -1) not working.
  • AnimatorAdapter will animate correctly the Scrollable Headers and Footers.
  • Fixed all returning generic type of FlexibleAdapter setters.
  • Adjusted some log description.

UI v1.0.0-b4

  • Improved EmptyViewHelper setup: static creator methods (constructors are now private).
  • On going animations of emptyViews are now cancelled before changing again alpha value (fixes consecutive fast switching).

Databinding v1.0.0-b3

  • Using android.databinding.enableV2=true at compile time.