Code example for ActionBarActivity

Methods: onPostCreate

0
        getSupportActionBar().setTitle(mTitle);
    } 
 
    @Override 
    protected void onPostCreate(Bundle savedInstanceState) {
        super.onPostCreate(savedInstanceState);
        mDrawerToggle.syncState();
    } 
 
    @Override 
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
        mDrawerToggle.onConfigurationChanged(newConfig);
    } 
} 
Contextual code suggestions in your IDE  Get Codota for Java