i'm quite new to drawer material and i have trouble understanding some things:
I need to create an
Use a Fragment
There are many ways to achieve what you want. But I think the simplest way is:
DrawerLayout view should reside in the activity (probably as the base layout).
2) When you click on an item in the draw 2 things happen:
The fragment is replaced (you have one layout to contain the fragment and you just replace the fragment in it).
The items inside the drawer update (if you are making a list you would simply set the data and call
Don't forget to save your state so it can recover in case the
Activity is recreated.