Same Navigation Drawer in different Activities

I made a working navigation drawer like it’s shown in the tutorial on the developer.android.com website. But now, I want to use one Navigation Drawer, i created in the NavigationDrawer.class for multiple Activities in my Application. My question is, if anyone here can make a little Tutorial, which explains, how to use one Navigation drawer … Read more

Navigation drawer: How do I set the selected item at startup?

My code works perfectly: every time an item in Navigation Drawer is clicked the item is selected. Of course I want to start the app with a default fragment (home), but Navigation Drawer doesn’t have the item selected. How can I select that item programmatically? public class BaseApp extends AppCompatActivity { //Defining Variables protected String … Read more