Components/xamandroidsupportv4-18-19.1.0/lib/android/19.1.0/content/support/v4/src/java/android/support/v4/app/FragmentActivity.java
@Override
    protected void onCreate(Bundle savedInstanceState) {
        mFragments.attachActivity(this, mContainer, null);
        // Old versions of the platform didn't do this!
        if (getLayoutInflater().getFactory() == null) {
            getLayoutInflater().setFactory(this);
        }
        
        super.onCreate(savedInstanceState);
        
        NonConfigurationInstances nc = (NonConfigurationInstances)
                getLastNonConfigurationInstance();
        if (nc != null) {
            mAllLoaderManagers = nc.loaders;
        }
        if (savedInstanceState != null) {
            Parcelable p = savedInstanceState.getParcelable(FRAGMENTS_TAG);
            mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
        }
        mFragments.dispatchCreate();
    }
/**
     * Perform initialization of all fragments and loaders.
     */
Perform initialization of all fragments and loaders.
Perform initialization of all fragments and loaders .
@Override
    protected void onCreate(Bundle savedInstanceState) {
        mFragments.attachActivity(this, mContainer, null);
        if (getLayoutInflater().getFactory() == null) {
            getLayoutInflater().setFactory(this);
        }
        super.onCreate(savedInstanceState);
        NonConfigurationInstances nc = (NonConfigurationInstances)
                getLastNonConfigurationInstance();
        if (nc != null) {
            mAllLoaderManagers = nc.loaders;
        }
        if (savedInstanceState != null) {
            Parcelable p = savedInstanceState.getParcelable(FRAGMENTS_TAG);
            mFragments.restoreAllState(p, nc != null ? nc.fragments : null);
        }
        mFragments.dispatchCreate();
    }
@ Override protected void onCreate ( Bundle savedInstanceState ) { mFragments . attachActivity ( this , mContainer , null ) ; if ( getLayoutInflater ( ) . getFactory ( ) == null ) { getLayoutInflater ( ) . setFactory ( this ) ; } super . onCreate ( savedInstanceState ) ; NonConfigurationInstances nc = ( NonConfigurationInstances ) getLastNonConfigurationInstance ( ) ; if ( nc != null ) { mAllLoaderManagers = nc . loaders ; } if ( savedInstanceState != null ) { Parcelable p = savedInstanceState . getParcelable ( FRAGMENTS_TAG ) ; mFragments . restoreAllState ( p , nc != null ? nc . fragments : null ) ; } mFragments . dispatchCreate ( ) ; }
Perform initialization of all fragments and loaders.
Perform initialization of all fragments and loaders .
// Old versions of the platform didn't do this!