Am using mike penz material drawer for my project and its working great except this issue. After visiting a previous fragment which falls under a collapse menu, say for example, Create New job as shown in the screenshot, and i go to Profile, i want the the collapsed menu for which that item falls under in this case Jobs to be closed automatically. Any help is appreciated.

Close collapse material drawer menu item on new fragment
220 views Asked by AudioBubble At
1
The
MaterialDrawerlibrary uses theFastAdapteras adapter behind the scenes to offer expandable functionality, and additional APIs to simplify the work with theRecyclerViewshowing the elements.To collapse all expanded items within the drawer, it is possible to access the
expandableExtensionfrom theMaterialDrawerSliderView, and use its API to for example collapse all items.To connect this to the
Drawer, call this for example when theProfileitem was clicked and you were notified via theonDrawerItemClickListener