public class SecondaryDrawerItem extends BaseSecondaryDrawerItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder> implements ColorfulBadgeable<SecondaryDrawerItem>
| Modifier and Type | Class and Description |
|---|---|
static class |
SecondaryDrawerItem.ItemFactory |
protected static class |
SecondaryDrawerItem.ViewHolder |
| Modifier and Type | Field and Description |
|---|---|
protected StringHolder |
mBadge |
protected BadgeStyle |
mBadgeStyle |
colorStateList, disabledIconColor, disabledTextColor, icon, iconColor, iconTinted, level, name, selectedColor, selectedIcon, selectedIconColor, selectedTextColor, textColor, typefacemEnabled, mIdentifier, mOnDrawerItemClickListener, mOnPostBindViewListener, mSelectable, mSelected, mSubItems, mTag| Constructor and Description |
|---|
SecondaryDrawerItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindView(SecondaryDrawerItem.ViewHolder viewHolder) |
StringHolder |
getBadge() |
BadgeStyle |
getBadgeStyle() |
com.mikepenz.fastadapter.utils.ViewHolderFactory<SecondaryDrawerItem.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() |
SecondaryDrawerItem |
withBadge(int badgeRes) |
SecondaryDrawerItem |
withBadge(java.lang.String badge) |
SecondaryDrawerItem |
withBadge(StringHolder badge) |
SecondaryDrawerItem |
withBadgeStyle(BadgeStyle badgeStyle) |
bindViewHelper, getColor, getDescription, getDescriptionTextColor, withDescription, withDescription, withDescriptionTextColor, withDescriptionTextColorResgetDisabledIconColor, 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 StringHolder mBadge
protected BadgeStyle mBadgeStyle
public SecondaryDrawerItem withBadge(StringHolder badge)
withBadge in interface Badgeable<SecondaryDrawerItem>public SecondaryDrawerItem withBadge(java.lang.String badge)
withBadge in interface Badgeable<SecondaryDrawerItem>public SecondaryDrawerItem withBadge(@StringRes int badgeRes)
withBadge in interface Badgeable<SecondaryDrawerItem>public SecondaryDrawerItem withBadgeStyle(BadgeStyle badgeStyle)
withBadgeStyle in interface ColorfulBadgeable<SecondaryDrawerItem>public StringHolder getBadge()
getBadge in interface Badgeable<SecondaryDrawerItem>public BadgeStyle getBadgeStyle()
getBadgeStyle in interface ColorfulBadgeable<SecondaryDrawerItem>public int getType()
getType in interface com.mikepenz.fastadapter.IItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>getType in interface IDrawerItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>@LayoutRes public int getLayoutRes()
getLayoutRes in interface com.mikepenz.fastadapter.IItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>getLayoutRes in interface IDrawerItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>public void bindView(SecondaryDrawerItem.ViewHolder viewHolder)
bindView in interface com.mikepenz.fastadapter.IItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>bindView in interface IDrawerItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>public com.mikepenz.fastadapter.utils.ViewHolderFactory<SecondaryDrawerItem.ViewHolder> getFactory()
AbstractDrawerItemgetFactory in class AbstractDrawerItem<SecondaryDrawerItem,SecondaryDrawerItem.ViewHolder>