@Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   enableActionBarAutoHide(
       (CollectionView)
           findViewById(com.saarang.samples.apps.iosched.R.id.videos_collection_view));
 }
  @Override
  protected void onPostCreate(Bundle savedInstanceState) {
    super.onPostCreate(savedInstanceState);
    if (mDetachedMode) {
      final Toolbar toolbar = getActionBarToolbar();
      toolbar.setNavigationIcon(R.drawable.ic_up);
      toolbar.setNavigationOnClickListener(
          new View.OnClickListener() {
            @Override
            public void onClick(View view) {
              finish();
            }
          });
    }

    if (mMapFragment == null) {
      mMapFragment = MapFragment.newInstance();
      mMapFragment.setArguments(intentToFragmentArguments(getIntent()));
      getFragmentManager()
          .beginTransaction()
          .add(R.id.fragment_container_map, mMapFragment, "map")
          .commit();
    }

    mDetachedMode = getIntent().getBooleanExtra(EXTRA_DETACHED_MODE, false);

    ScrimInsetsFrameLayout scrimInsetsFrameLayout =
        (ScrimInsetsFrameLayout) findViewById(R.id.capture_insets_frame_layout);
    scrimInsetsFrameLayout.setOnInsetsCallback(this);
  }
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   if (mDrawerToggle != null) {
     mDrawerToggle.syncState();
   }
 }
 /**
  * When using the ActionBarDrawerToggle, you must call it during onPostCreate() and
  * onConfigurationChanged()...
  */
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   // Sync the toggle state after onRestoreInstanceState has occurred.
   mDrawerToggle.syncState();
 }
 @Override
 public void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   drawerToggle.syncState();
 }
Exemple #6
0
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   setTitle(null);
   super.onPostCreate(savedInstanceState);
 }
 @Override
 protected void onPostCreate(Bundle savedInstanceState) {
   super.onPostCreate(savedInstanceState);
   mHelper.onPostCreate();
 }