// When using the ActionBarDrawerToggle, you must call it during
 // onPostCreate() and onConfigurationChanged()
 @SuppressWarnings("deprecation")
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   // Sync the toggle state after onRestoreInstanceState has occurred.
   mDrawerToggle.syncState();
 }
  @Override
  protected void onPostCreate(Bundle savedInstanceState) {

    super.onPostCreate(savedInstanceState);

    // syncState() method should be called onPostCreate.
    // for more details, see Android Developer Site
    // http://developer.android.com/reference/android/support/v4/app/ActionBarDrawerToggle.html#syncState()

    mDrawerToggle.syncState();
  }
Пример #3
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   mDrawerToggle.syncState();
 }
 /* (non-Javadoc)
  * @see android.app.Activity#onPostCreate(android.os.Bundle)
  */
 @Override
 public void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   mHelper.onPostCreate(savedInstanceState);
 }