@Override
 public void onConfigurationChanged(Configuration newConfig) {
   // ignore orientation change
   super.onConfigurationChanged(newConfig);
 }
 @Override
 public void onConfigurationChanged(Configuration newConfig) {
   Configuration oldConfig = getResources().getConfiguration();
   super.onConfigurationChanged(newConfig);
   mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
 }
Пример #3
0
 @Override
 public void onConfigurationChanged(Configuration newConfig) {
   final Configuration currentConfig = getResources().getConfiguration();
   super.onConfigurationChanged(newConfig);
   eventManager.fire(new OnConfigurationChangedEvent(currentConfig, newConfig));
 }