setToolbarNavigationClickListener

open fun setToolbarNavigationClickListener(onToolbarNavigationClickListener: View.OnClickListener)(source)

When DrawerToggle is constructed with a Toolbar, it sets the click listener on the Navigation icon. If you want to listen for clicks on the Navigation icon when DrawerToggle is disabled (setDrawerIndicatorEnabled, you should call this method with your listener and DrawerToggle will forward click events to that listener when drawer indicator is disabled.

See also