I\'m building a base activity for navigation and want something flexible so the Activity dictates to the Base Activity which layout to inflate.
I have the following<
you could either override setContentView in your BaseActivity and initialised everything after the super call or move all the DrawerLayout related stuff to a protected method and call it from each children of BaseActivity, after you call setContentView. I think the first should be straightforward an, from what you posted, you can avoid to override onCreate in the BaseActivity