Code example for FragmentActivity

Methods: onConfigurationChanged

0
        PublicUtils.setupSession(this, mSharedPreferences);
    } 
 
    @Override 
    public void onConfigurationChanged(Configuration newConfig) {
        super.onConfigurationChanged(newConfig);
    } 
 
    /* @see http://stackoverflow.com/a/9021487 */ 
    @Override 
    protected void onSaveInstanceState(Bundle outState) {
        super.onSaveInstanceState(outState);
        outState.putParcelableArrayList(Constants.SUPER_COOKIES, RequestHandler.getCookies());
    } 
}