zsmb13 / MaterialDrawerKt

A Kotlin DSL wrapper around the mikepenz/MaterialDrawer library.
Apache License 2.0
518 stars 41 forks source link

Expanded secondary items are not collapsed on main expandable item closed #82

Open sudheeshde opened 4 years ago

sudheeshde commented 4 years ago

Hi, first of all thanks for this awesome library. I have a menu structure in which there are 2 levels of menu items (a > b > c). Scenario is as follows: Whenever menu item c is expanded and closed item a, then closed drawer. And when reopening menu items inside c is still opened and sometimes the menu items in c is misplaced into another sub level of menu item. How can we collapse all menu items when drawer is closed?