Code example for FragmentActivity

Methods: onSaveInstanceState

0
    /* (non-Javadoc) 
     * @see android.support.v4.app.FragmentActivity#onSaveInstanceState(android.os.Bundle) 
     */ 
    @Override 
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        mHelper.onSaveInstanceState(outState);
    } 
 
    /* (non-Javadoc) 
     * @see android.app.Activity#setContentView(int) 
     */ 
    @Override 
    public void setContentView(int id) {
        setContentView(getLayoutInflater().inflate(id, null));
    } 
 
    /* (non-Javadoc) 
     * @see android.app.Activity#setContentView(android.view.View) 
     */ 
    @Override