New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
close drawer on item click #48
Comments
Can you give me the log for the App crash?thanks |
Here is the code:
}` log : |
you can't get mDrawerLayout object in MenuListFragment, because it's in MainActivity's layout . and in MenuListFragment use : ((MainActivity)getActivity()).closeMenu() ; |
I did try this method but maybe i have put some thing else instead of |
Hi...
I am trying to close drawer automatically when any item clicked in drawer. Have set new intent on item click and it work fine. But when i add code for close drawer on click of new intent the App crashes.
The text was updated successfully, but these errors were encountered: