public class SecondaryToggleDrawerItem extends BaseSecondaryDrawerItem<SecondaryToggleDrawerItem,SecondaryToggleDrawerItem.ViewHolder>
| Modifier and Type | Class and Description |
|---|---|
static class |
SecondaryToggleDrawerItem.ItemFactory |
protected static class |
SecondaryToggleDrawerItem.ViewHolder |
colorStateList, disabledIconColor, disabledTextColor, icon, iconColor, iconTinted, level, name, selectedColor, selectedIcon, selectedIconColor, selectedTextColor, textColor, typefacemEnabled, mIdentifier, mOnDrawerItemClickListener, mOnPostBindViewListener, mSelectable, mSelected, mSubItems, mTag| Constructor and Description |
|---|
SecondaryToggleDrawerItem() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindView(SecondaryToggleDrawerItem.ViewHolder viewHolder) |
com.mikepenz.fastadapter.utils.ViewHolderFactory<SecondaryToggleDrawerItem.ViewHolder> |
getFactory()
the abstract method to retrieve the ViewHolder factory
The ViewHolder factory implementation should look like (see the commented code above)
|
int |
getLayoutRes() |
OnCheckedChangeListener |
getOnCheckedChangeListener() |
int |
getType() |
boolean |
isChecked() |
boolean |
isToggleEnabled() |
void |
setChecked(boolean checked) |
void |
setOnCheckedChangeListener(OnCheckedChangeListener onCheckedChangeListener) |
void |
setToggleEnabled(boolean toggleEnabled) |
SecondaryToggleDrawerItem |
withChecked(boolean checked) |
SecondaryToggleDrawerItem |
withOnCheckedChangeListener(OnCheckedChangeListener onCheckedChangeListener) |
SecondaryToggleDrawerItem |
withToggleEnabled(boolean toggleEnabled) |
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, withTagpublic SecondaryToggleDrawerItem withChecked(boolean checked)
public SecondaryToggleDrawerItem withToggleEnabled(boolean toggleEnabled)
public SecondaryToggleDrawerItem withOnCheckedChangeListener(OnCheckedChangeListener onCheckedChangeListener)
public boolean isChecked()
public void setChecked(boolean checked)
public boolean isToggleEnabled()
public void setToggleEnabled(boolean toggleEnabled)
public OnCheckedChangeListener getOnCheckedChangeListener()
public void setOnCheckedChangeListener(OnCheckedChangeListener onCheckedChangeListener)
public int getType()
@LayoutRes public int getLayoutRes()
public void bindView(SecondaryToggleDrawerItem.ViewHolder viewHolder)
public com.mikepenz.fastadapter.utils.ViewHolderFactory<SecondaryToggleDrawerItem.ViewHolder> getFactory()
AbstractDrawerItemgetFactory in class AbstractDrawerItem<SecondaryToggleDrawerItem,SecondaryToggleDrawerItem.ViewHolder>