Code example for ActionBarActivity

Methods: onPostCreate

0
    } 
 
    @Override 
    protected void onPostCreate(Bundle savedInstanceState)
    { 
        super.onPostCreate(savedInstanceState);
        // Sync the toggle state after onRestoreInstanceState has occurred. 
        mDrawerToggle.syncState();
    } 
 
    @Override 
    public void onConfigurationChanged(Configuration newConfig)
    { 
        super.onConfigurationChanged(newConfig);
        mDrawerToggle.onConfigurationChanged(newConfig);
    } 
 
    @Override 
    public boolean onOptionsItemSelected(MenuItem item)
    { 
        // Pass the event to ActionBarDrawerToggle, if it returns