Closed ajeett closed 7 years ago
how to automatically Close Floating drawer after selecting the item
You can define a method in MainActivity: public void closeMenu() { if (mDrawer.isMenuVisible()) { mDrawer.closeMenu(); } }
and in MenuListFragment use : ((MainActivity)getActivity()).closeMenu() ;
how to automatically Close Floating drawer after selecting the item