How can I create a custom DrawerItem (1. I need toggle 2. I need boolean state indicator) in the MaterialDrawer library? Here MaterialDrawer author says, that creating custom DrawerItem is a really easy task, but I can't find it in the documentation of this library.
MaterialDrawer CustomDrawerItem
3.1k Views Asked by igor_rb At
1
To implement a
CustomDrawerItemyou have to implement theIDrawerIteminterface. This defines all methods which are required. Just take a closer look at the DividerDrawerItem or theSectionDrawerItemwhich are both a bit simpler.