Skip to content

Latest commit

 

History

History
55 lines (44 loc) · 2.39 KB

CHANGELOG.md

File metadata and controls

55 lines (44 loc) · 2.39 KB

Changelog

1.1.2 - 30/06/2017

SectionParameters class

  • Add this class to be used as parameter to constructors of Section and StatelessSection classes.

Section class

  • Add EMPTY state
  • Deprecate all existing constructors.
  • Add constructor with SectionParameters as parameter.
  • Add LayoutRes annotation to resource id variables and constructor parameters.
  • Add getEmptyResourceId method.
  • Add getEmptyViewHolder and onBindEmptyViewHolder methods.

StatelessSection class

  • Deprecate all existing constructors.
  • Add constructor with SectionParameters as parameter.
  • Add LayoutRes annotation to resource id variables and constructor parameters.

SectionedRecyclerViewAdapter class

  • Add getSectionPosition(Section) method.
  • Add getPositionInAdapter, getHeaderPositionInAdapter and getFooterPositionInAdapter methods.
  • Add overloaded notifyItemInsertedInSection, notifyItemRangeInsertedInSection, notifyItemRemovedFromSection, notifyItemRangeRemovedFromSection, notifyItemChangedInSection, notifyItemRangeChangedInSection, notifyItemRangeChangedInSection, notifyItemMovedInSection methods with Section as parameter.
  • Add notifyHeaderChangedInSection and notifyFooterChangedInSection methods.

1.0.5 - 01/04/2017

SectionedRecyclerViewAdapter class

  • Deprecate getSectionPosition(int) method, method getPositionInSection(int) created as replacement.
  • Add getSectionPosition(String) method.
  • Add methods notifyItemInsertedInSection and notifyItemRangeInsertedInSection.
  • Add methods notifyItemRemovedFromSection, notifyItemRangeRemovedFromSection.
  • Add methods notifyItemChangedInSection and notifyItemRangeChangedInSection.
  • Add methods notifyItemRangeChangedInSection and notifyItemMovedInSection.

AndroidManifest

  • Remove label from application tag in the manifest file.

1.0.4 - 11/05/2016

SectionedRecyclerViewAdapter class

  • Add getSectionsMap method.

AndroidManifest

  • Remove supportsRtl and allowBackup from application tag in the manifest file.

1.0.3 - 31/03/2016

SectionedRecyclerViewAdapter class

  • Add getSectionItemViewType method.

1.0.2 - 30/03/2016

SectionedRecyclerViewAdapter class

  • Change access level to public of methods getSectionPosition and getSectionForPosition.

1.0.1 - 19/02/2016

SectionedRecyclerViewAdapter class

  • Fix issue when setting section to invisible.