public class MiniDrawerItem extends BaseDrawerItem<MiniDrawerItem,MiniDrawerItem.ViewHolder>
| Modifier and Type | Class and Description |
|---|---|
static class |
MiniDrawerItem.ItemFactory |
protected static class |
MiniDrawerItem.ViewHolder |
| Modifier and Type | Field and Description |
|---|---|
protected DimenHolder |
mCustomHeight |
colorStateList, disabledIconColor, disabledTextColor, icon, iconColor, iconTinted, level, name, selectedColor, selectedIcon, selectedIconColor, selectedTextColor, textColor, typefacemEnabled, mIdentifier, mOnDrawerItemClickListener, mOnPostBindViewListener, mSelectable, mSelected, mSubItems, mTag| Constructor and Description |
|---|
MiniDrawerItem() |
MiniDrawerItem(PrimaryDrawerItem primaryDrawerItem) |
MiniDrawerItem(SecondaryDrawerItem secondaryDrawerItem) |
| Modifier and Type | Method and Description |
|---|---|
void |
bindView(MiniDrawerItem.ViewHolder viewHolder) |
com.mikepenz.fastadapter.utils.ViewHolderFactory<MiniDrawerItem.ViewHolder> |
getFactory()
the abstract method to retrieve the ViewHolder factory
The ViewHolder factory implementation should look like (see the commented code above)
|
int |
getLayoutRes() |
int |
getType() |
MiniDrawerItem |
withCustomHeight(DimenHolder customHeight) |
MiniDrawerItem |
withCustomHeightDp(int customHeightDp) |
MiniDrawerItem |
withCustomHeightPx(int customHeightPx) |
MiniDrawerItem |
withCustomHeightRes(int customHeightRes) |
MiniDrawerItem |
withEnableSelectedBackground(boolean enableSelectedBackground) |
getColor, 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, getOnDrawerItemClickListener, getOnPostBindViewListener, getSubItems, getTag, getViewHolder, hashCode, isEnabled, isExpanded, isSelectable, isSelected, onPostBindView, withEnabled, withIdentifier, withIsExpanded, withOnDrawerItemClickListener, withPostOnBindViewListener, withSelectable, withSetSelected, withSubItems, withSubItems, withTagprotected DimenHolder mCustomHeight
public MiniDrawerItem()
public MiniDrawerItem(PrimaryDrawerItem primaryDrawerItem)
public MiniDrawerItem(SecondaryDrawerItem secondaryDrawerItem)
public MiniDrawerItem withCustomHeightRes(@DimenRes int customHeightRes)
public MiniDrawerItem withCustomHeightDp(int customHeightDp)
public MiniDrawerItem withCustomHeightPx(int customHeightPx)
public MiniDrawerItem withCustomHeight(DimenHolder customHeight)
public MiniDrawerItem withEnableSelectedBackground(boolean enableSelectedBackground)
public int getType()
@LayoutRes public int getLayoutRes()
public void bindView(MiniDrawerItem.ViewHolder viewHolder)
public com.mikepenz.fastadapter.utils.ViewHolderFactory<MiniDrawerItem.ViewHolder> getFactory()
AbstractDrawerItemgetFactory in class AbstractDrawerItem<MiniDrawerItem,MiniDrawerItem.ViewHolder>