SectionedRecyclerViewAdapter v1.1.2 Release Notes

Release Date: 2017-06-30 // over 2 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.