public abstract class AbstractExpandableItem<Parent extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.IExpandable & com.mikepenz.fastadapter.ISubItem & com.mikepenz.fastadapter.IClickable,VH extends android.support.v7.widget.RecyclerView.ViewHolder,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem> extends com.mikepenz.fastadapter.items.AbstractItem<Parent,VH> implements com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem>, com.mikepenz.fastadapter.ISubItem<AbstractExpandableItem,Parent>
| Constructor and Description |
|---|
AbstractExpandableItem() |
| Modifier and Type | Method and Description |
|---|---|
Parent |
getParent() |
java.util.List<SubItem> |
getSubItems() |
boolean |
isAutoExpanding() |
boolean |
isExpanded() |
boolean |
isSelectable() |
AbstractExpandableItem<Parent,VH,SubItem> |
withIsExpanded(boolean expanded) |
AbstractExpandableItem<Parent,VH,SubItem> |
withParent(Parent parent) |
AbstractExpandableItem<Parent,VH,SubItem> |
withSubItems(java.util.List<SubItem> subItems) |
attachToWindow, bindView, createView, detachFromWindow, equals, equals, failedToRecycle, generateView, generateView, getIdentifier, getOnItemClickListener, getOnPreItemClickListener, getTag, getViewHolder, getViewHolder, hashCode, isEnabled, isSelected, unbindView, withEnabled, withIdentifier, withOnItemClickListener, withOnItemPreClickListener, withSelectable, withSetSelected, withTagpublic boolean isExpanded()
isExpanded in interface com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem>public AbstractExpandableItem<Parent,VH,SubItem> withIsExpanded(boolean expanded)
withIsExpanded in interface com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem>public java.util.List<SubItem> getSubItems()
getSubItems in interface com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem>public boolean isAutoExpanding()
isAutoExpanding in interface com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem>public AbstractExpandableItem<Parent,VH,SubItem> withSubItems(java.util.List<SubItem> subItems)
withSubItems in interface com.mikepenz.fastadapter.IExpandable<AbstractExpandableItem,SubItem extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.ISubItem>public Parent getParent()
getParent in interface com.mikepenz.fastadapter.ISubItem<AbstractExpandableItem,Parent extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.IExpandable & com.mikepenz.fastadapter.ISubItem & com.mikepenz.fastadapter.IClickable>public AbstractExpandableItem<Parent,VH,SubItem> withParent(Parent parent)
withParent in interface com.mikepenz.fastadapter.ISubItem<AbstractExpandableItem,Parent extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.IExpandable & com.mikepenz.fastadapter.ISubItem & com.mikepenz.fastadapter.IClickable>public boolean isSelectable()
isSelectable in interface com.mikepenz.fastadapter.IItem<Parent extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.IExpandable & com.mikepenz.fastadapter.ISubItem & com.mikepenz.fastadapter.IClickable,VH extends android.support.v7.widget.RecyclerView.ViewHolder>isSelectable in class com.mikepenz.fastadapter.items.AbstractItem<Parent extends com.mikepenz.fastadapter.IItem & com.mikepenz.fastadapter.IExpandable & com.mikepenz.fastadapter.ISubItem & com.mikepenz.fastadapter.IClickable,VH extends android.support.v7.widget.RecyclerView.ViewHolder>