Navigation Drawer is not opening by clicking the app icon
I spent three days about this problem. The Navigation Drawer will show if I swipe the screen from left to right. But that won't show by clicking the app icon. Actually, I missed these lines of codes:
Code
| public boolean onOptionsItemSelected(MenuItem item) { | |
|   | |
|         if (mDrawerToggle.onOptionsItemSelected(item)) { | |
|             return true; | |
|         } | |
|         return super.onOptionsItemSelected(item); | |
|     } | 
if (mDrawerToggle.onOptionsItemSelected(item)) { will call to show the drawer!
Trackback address for this post
Trackback URL (right click and copy shortcut/link location)
Feedback awaiting moderation
This post has 11 feedbacks awaiting moderation...
Form is loading...
