Skip to content

Latest commit

 

History

History
56 lines (44 loc) · 3.06 KB

MIGRATION.md

File metadata and controls

56 lines (44 loc) · 3.06 KB

Upgrade Notes

v6.2.x

  • Upgraded the library to use androidX dependencies. This means your project will need to depend on androidX dependencies too. If you still use appcompat please consider using a version older than v6.2.x.
  • Further details about migrating to androidX and a overview can be found on the official docs. https://developer.android.com/topic/libraries/support-library/refactor

v6.0.0

IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER

v5.9.7

IMPORTANT IF YOU USE THE Android-Iconics

v5.9.5

IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER

v5.9.0

IMPORTANT IF YOU USE THE FASTADAPTER OR MATERIALDRAWER

v5.8.5

IMPORTANT IF YOU USE THE FASTADAPTER

v5.8.1

IMPORTANT IF YOU USE THE FASTADAPTER

  • This release brings a breaking interface change. Your items now have to implement bindView(ViewHolder holder, List payloads) instead of bindView(VH holder).
  • The additional payload can be used to implement a more performant view updating when only parts of the item have changed. Please also refer to the DiffUtils which may provide the payload.

v5.8.0

  • Dropping support for API < 14. New MinSdkVersion is 14

v5.6.1 -> v5.6.2

  • Change void onLibTaskFinished() to void onLibTaskFinished(FastItemAdapter fastItemAdapter)

v5.3.0 -> v5.3.1

  • renamed withAnimations() to withSlideInAnimation() and change the default to false
  • now use the DefaultItemAnimator to animate the displaying of the elements
  • you can now define a different ItemAnimator via LibsConfiguration.getInstance().setItemAnimator()

v5.2.6 -> v5.3.0

  • change .fragment() to .supportFragment() and LibsFragment to LibsSupportFragment

INFO

  • moved logic of the fragment to the new LibsFragmentCompat class
  • create new LibsSupportFragment which extends the android.support.v4.app.Fragment
  • change the LibsFragment which now extends the android.app.Fragment
  • add new method .supportFragment() which returns android.support.v4.app.Fragment
  • change .fragment() which now returns android.app.Fragment