How to reload fragment on Config change
Ok so I have one of two problems to deal with config changes:
1. If I let android handle config changes, I lose my services and current data, I know i can save the data by creating an object to store it in and passing to onRetainNonConfigurationInstance, but not sure how to keep the service going, because it contains a timer that I dont want to restart.  Im following the android example on messenger service for how I bind and unbind the service

2. If I handle the configuration change myself and use onConfigurationChange it works, unless i go out of the app and then change configuration and go back in I get a java illegalexception for calling fragmenttransaction.commit() after onSavedInstance.  This is how im handling it now which works except for relaunching the app:


    

    > @Override
    >     	public void onConfigurationChanged(Configuration newConfig) {
    >     		if(newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE || newConfig.orientation == Configuration.ORIENTATION_PORTRAIT){
    >     			FragmentTransaction trans = manager.beginTransaction();
    >     			updateLeft(current_left, trans);//replaces fragment
    >     			updateRight(current_right, trans);//replaces fragment
    >     			trans.commit();
    >     		}
    >     		super.onConfigurationChanged(newConfig);
    >     	}

So question is, how can I save the service so that it isnt destroyed, or how do I update the fragment views without throwing the error
How to reload fragment on Config change
===

Ok so I have one of two problems to deal with config changes:
1. If I let android handle config changes, I lose my services and current data, I know i can save the data by creating an object to store it in and passing to onRetainNonConfigurationInstance, but not sure how to keep the service going, because it contains a timer that I dont want to restart.  Im following the android example on messenger service for how I bind and unbind the service

2. If I handle the configuration change myself and use onConfigurationChange it works, unless i go out of the app and then change configuration and go back in I get a java illegalexception for calling fragmenttransaction.commit() after onSavedInstance.  This is how im handling it now which works except for relaunching the app:


    

    > @Override
    >     	public void onConfigurationChanged(Configuration newConfig) {
    >     		if(newConfig.orientation == Configuration.ORIENTATION_LANDSCAPE || newConfig.orientation == Configuration.ORIENTATION_PORTRAIT){
    >     			FragmentTransaction trans = manager.beginTransaction();
    >     			updateLeft(current_left, trans);//replaces fragment
    >     			updateRight(current_right, trans);//replaces fragment
    >     			trans.commit();
    >     		}
    >     		super.onConfigurationChanged(newConfig);
    >     	}

So question is, how can I save the service so that it isnt destroyed, or how do I update the fragment views without throwing the error