I have two navigation drawers in my app enabled by two icons on the left and right side respectively. Now my right side icon is a menu item so I am able to toggle both the navigation drawers via onOptionsItemSelected
.
The problem I am having is that when I open the right drawer and then I open the left drawer, they overlap. I would like to know how to close the right drawer when I click the nav drawer button on the left hand side (The probable home button next to the application icon). Is there a click listener for that button like the menu Item?
Thanks In Advance.