public class ExpandableDrawerItem extends BaseDescribeableDrawerItem<ExpandableDrawerItem,ExpandableDrawerItem.ViewHolder>
| Modifier and Type | Class and Description |
|---|---|
static class |
ExpandableDrawerItem.ItemFactory |
static class |
ExpandableDrawerItem.ViewHolder |
| Modifier and Type | Field and Description |
|---|---|
protected ColorHolder |
arrowColor |
protected int |
arrowRotationAngleEnd |
protected int |
arrowRotationAngleStart |
colorStateList, disabledIconColor, disabledTextColor, icon, iconColor, iconTinted, level, name, selectedColor, selectedIcon, selectedIconColor, selectedTextColor, textColor, typefacemEnabled, mIdentifier, mOnPostBindViewListener, mSelectable, mSelected, mSubItems, mTag| Constructor and Description |
|---|
ExpandableDrawerItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindView(ExpandableDrawerItem.ViewHolder viewHolder,
java.util.List payloads) |
com.mikepenz.fastadapter.utils.ViewHolderFactory<ExpandableDrawerItem.ViewHolder> |
getFactory()
the abstract method to retrieve the ViewHolder factory
The ViewHolder factory implementation should look like (see the commented code above)
|
int |
getLayoutRes() |
Drawer.OnDrawerItemClickListener |
getOnDrawerItemClickListener() |
int |
getType() |
ExpandableDrawerItem |
withArrowColor(int arrowColor) |
ExpandableDrawerItem |
withArrowColorRes(int arrowColorRes) |
ExpandableDrawerItem |
withArrowRotationAngleEnd(int angle) |
ExpandableDrawerItem |
withArrowRotationAngleStart(int angle) |
ExpandableDrawerItem |
withOnDrawerItemClickListener(Drawer.OnDrawerItemClickListener onDrawerItemClickListener)
this listener is called when an item is clicked in the drawer.
|
bindViewHelper, getDescription, getDescriptionTextColor, withDescription, withDescription, withDescriptionTextColor, withDescriptionTextColorResgetColor, getDisabledIconColor, getDisabledTextColor, getIcon, getIconColor, getIconColor, getLevel, getName, getSelectedColor, getSelectedColor, getSelectedIcon, getSelectedIconColor, getSelectedIconColor, getSelectedTextColor, getSelectedTextColor, getTextColor, getTextColorStateList, getTypeface, isIconTinted, withDisabledIconColor, withDisabledIconColorRes, withDisabledTextColor, withDisabledTextColorRes, withIcon, withIcon, withIcon, withIcon, withIconColor, withIconColorRes, withIconTinted, withIconTintingEnabled, withLevel, withName, withName, withName, withSelectedColor, withSelectedColorRes, withSelectedIcon, withSelectedIcon, withSelectedIconColor, withSelectedIconColorRes, withSelectedTextColor, withSelectedTextColorRes, withTextColor, withTextColorRes, withTintSelectedIcon, withTypefaceequals, equals, equals, generateView, generateView, getIdentifier, getOnPostBindViewListener, getParent, getSubItems, getTag, getViewHolder, hashCode, isAutoExpanding, isEnabled, isExpanded, isSelectable, isSelected, onPostBindView, unbindView, withEnabled, withIdentifier, withIsExpanded, withParent, withPostOnBindViewListener, withSelectable, withSetSelected, withSubItems, withSubItems, withTagprotected ColorHolder arrowColor
protected int arrowRotationAngleStart
protected int arrowRotationAngleEnd
public ExpandableDrawerItem withArrowColor(int arrowColor)
public ExpandableDrawerItem withArrowColorRes(@ColorRes int arrowColorRes)
public ExpandableDrawerItem withArrowRotationAngleStart(int angle)
public ExpandableDrawerItem withArrowRotationAngleEnd(int angle)
public int getType()
@LayoutRes public int getLayoutRes()
public ExpandableDrawerItem withOnDrawerItemClickListener(Drawer.OnDrawerItemClickListener onDrawerItemClickListener)
AbstractDrawerItemwithOnDrawerItemClickListener in class AbstractDrawerItem<ExpandableDrawerItem,ExpandableDrawerItem.ViewHolder>public Drawer.OnDrawerItemClickListener getOnDrawerItemClickListener()
public void bindView(ExpandableDrawerItem.ViewHolder viewHolder, java.util.List payloads)
public com.mikepenz.fastadapter.utils.ViewHolderFactory<ExpandableDrawerItem.ViewHolder> getFactory()
AbstractDrawerItemgetFactory in class AbstractDrawerItem<ExpandableDrawerItem,ExpandableDrawerItem.ViewHolder>