Skip to content Skip to sidebar Skip to footer

Navigation Drawer Closes On Click

I have implemented a Navigation Drawer but I am having some trouble getting it to function properly. When I click on position 1 or 2, it is not launching the new fragment. MainAct

Solution 1:

I did not realize this but the main container must come before the nav drawer. I moved the ListView for the nav drawer to the bottom of my activity_main.xml and viola, it works!


Post a Comment for "Navigation Drawer Closes On Click"