Skip to content Skip to sidebar Skip to footer

Android Navigation Drawer Open On Activity Create

I do have a simple requirement. I want new android Navigation Drawer to open upon start of Activity. I have tried mDrawerLayout.openDrawer(drawerListView); in onCreate of host ac

Solution 1:

try to move the code to onResume() and set a flag that the action is done so it won't happen every time activity goes foreground


Post a Comment for "Android Navigation Drawer Open On Activity Create"