Android how toggle with the button in toolbar to open/close navigation drawer with Fragments
- 阅读更多 关于 Android how toggle with the button in toolbar to open/close navigation drawer with Fragments
问题 I am new in Android Development after reading so many tutorials and documentation and spending some time finally i managed to create a navigation drawer with the toolbar. but currently the problem is i can only open drawer by swiping from left side of the screen (not capable open/close drawer with toolbar) i don't know how in onCreateView i can access to navigation drawer id which is not set in onCreateView's setContentView but it is set in onCreate's SetContentView of that class. I use