GoogleNavigationDrawer
GoogleNavigationDrawer copied to clipboard
Caused by: java.lang.IllegalArgumentException: No view found for id 0x7f090056 (maybe:id/frame_container)
Cant do anything to get around it? :/
could you post the complete logcat error?
I had this when converting a project to use GoogleNavigationDrawer I'd left in a call to setContentView(R.layout.activity_main); on the main activity that extends GoogleNavigationDrawer.
As the EXAMPLE.md file told, you should not override the onCreateView and you must not set your content with setContentView. This is because the library call the setContentView method for create the method. Please move the main content of your app into a Fragment, then into the init() method create a section that have this Fragment as target and then add the section to the drawer.
The first section must have a fragment as a target and it will be used for the main content.