-
- All Implemented Interfaces:
-
eu.davidea.flexibleadapter.items.IExpandable,eu.davidea.flexibleadapter.items.IFlexible,eu.davidea.flexibleadapter.items.IHeader
public abstract class AbstractExpandableHeaderItem<VH extends ExpandableViewHolder, S extends ISectionable> extends AbstractExpandableItem<VH, S> implements IHeader<VH>
Generic implementation of IExpandable interface combined with IHeader interface with most useful methods to manage expandable sections with sticky headers and sub items of type ISectionable.
This abstract class extends AbstractExpandableItem.
Call{@code super()}in the constructor to auto-configure the section status as: shown, expanded, not selectable.
-
-
Constructor Summary
Constructors Constructor Description AbstractExpandableHeaderItem()By default, expandable header is shown, expanded and not selectable.
-
Method Summary
Modifier and Type Method Description -
Methods inherited from class eu.davidea.flexibleadapter.items.AbstractExpandableItem
addSubItem, addSubItem, addSubItems, contains, getExpansionLevel, getSubItem, getSubItemPosition, getSubItems, getSubItemsCount, hasSubItems, isExpanded, removeSubItem, removeSubItem, removeSubItems, setExpanded, setSubItems -
Methods inherited from class eu.davidea.flexibleadapter.items.AbstractFlexibleItem
bindViewHolder, createViewHolder, equals, getBubbleText, getItemViewType, getLayoutRes, getSpanSize, isDraggable, isEnabled, isHidden, isSelectable, isSwipeable, onViewAttached, onViewDetached, setDraggable, setEnabled, setHidden, setSelectable, setSwipeable, shouldNotifyChange, unbindViewHolder -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-