SectionedRecyclerViewAdapter v1.1.2 Release Notes

Release Date: 2017-06-30 // over 4 years ago
  • 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.