public void handleConfiguration(Class<OpsType> opsType,Interface instance) throws InstantiationException, IllegalAccessException {
  if (mRetainedFragmentManager.firstTimeIn()) {
    Log.d(TAG,"First time onCreate() call");
    initialize(opsType,instance);
  }
 else {
    Log.d(TAG,"Second or subsequent onCreate() call");
    mOpsInstance=mRetainedFragmentManager.get(opsType.getSimpleName());
    if (mOpsInstance == null)     initialize(opsType,instance);
 else     mOpsInstance.onConfiguration(instance,false);
  }
}

public void handleConfiguration ( Class < OpsType > opsType , Interface instance ) throws InstantiationException , IllegalAccessException { if ( mRetainedFragmentManager . firstTimeIn ( ) ) { Log . d ( TAG , "First time onCreate() call" ) ; initialize ( opsType , instance ) ; } else { Log . d ( TAG , "Second or subsequent onCreate() call" ) ; mOpsInstance = mRetainedFragmentManager . get ( opsType . getSimpleName ( ) ) ; if ( mOpsInstance == null ) initialize ( opsType , instance ) ; else mOpsInstance . onConfiguration ( instance , false ) ; } }
handle hardware ( re ) configurations , such as rotating the display .
