Code example for FragmentActivity

Methods: onRestoreInstanceState

0
        mTabHelper.onSaveInstanceState(outState); 
    } 
 
    @Override 
    protected void onRestoreInstanceState(Bundle savedInstanceState) { 
        super.onRestoreInstanceState(savedInstanceState); 
        mTabHelper.onRestoreInstanceState(savedInstanceState); 
    } 
 
    /** 
     * Returns the {@link TabHelper} for this activity. 
     */ 
    protected TabHelper getTabHelper() { 
        mTabHelper.setUp(); 
        return mTabHelper; 
    } 
}