Search in sources :

Example 1 with OnConfigurationChangedEvent

use of proton.inject.observer.event.OnConfigurationChangedEvent in project AndroidTraining by mixi-inc.

the class ProtonAccountAuthenticatorActivity method onConfigurationChanged.

@Override
public void onConfigurationChanged(Configuration newConfig) {
    Configuration oldConfig = getResources().getConfiguration();
    super.onConfigurationChanged(newConfig);
    mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
}
Also used : Configuration(android.content.res.Configuration) OnConfigurationChangedEvent(proton.inject.observer.event.OnConfigurationChangedEvent)

Example 2 with OnConfigurationChangedEvent

use of proton.inject.observer.event.OnConfigurationChangedEvent in project AndroidTraining by mixi-inc.

the class ProtonActivity method onConfigurationChanged.

@Override
public void onConfigurationChanged(Configuration newConfig) {
    Configuration oldConfig = getResources().getConfiguration();
    super.onConfigurationChanged(newConfig);
    mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
}
Also used : Configuration(android.content.res.Configuration) OnConfigurationChangedEvent(proton.inject.observer.event.OnConfigurationChangedEvent)

Example 3 with OnConfigurationChangedEvent

use of proton.inject.observer.event.OnConfigurationChangedEvent in project AndroidTraining by mixi-inc.

the class ProtonFragmentActivity method onConfigurationChanged.

@Override
public void onConfigurationChanged(Configuration newConfig) {
    Configuration oldConfig = getResources().getConfiguration();
    super.onConfigurationChanged(newConfig);
    mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
}
Also used : Configuration(android.content.res.Configuration) OnConfigurationChangedEvent(proton.inject.observer.event.OnConfigurationChangedEvent)

Example 4 with OnConfigurationChangedEvent

use of proton.inject.observer.event.OnConfigurationChangedEvent in project AndroidTraining by mixi-inc.

the class ProtonLauncherActivity method onConfigurationChanged.

@Override
public void onConfigurationChanged(Configuration newConfig) {
    Configuration oldConfig = getResources().getConfiguration();
    super.onConfigurationChanged(newConfig);
    mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
}
Also used : Configuration(android.content.res.Configuration) OnConfigurationChangedEvent(proton.inject.observer.event.OnConfigurationChangedEvent)

Example 5 with OnConfigurationChangedEvent

use of proton.inject.observer.event.OnConfigurationChangedEvent in project AndroidTraining by mixi-inc.

the class ProtonIntentService method onConfigurationChanged.

@Override
public void onConfigurationChanged(Configuration newConfig) {
    Configuration oldConfig = getResources().getConfiguration();
    super.onConfigurationChanged(newConfig);
    mObserverManager.fire(new OnConfigurationChangedEvent(oldConfig, newConfig));
}
Also used : Configuration(android.content.res.Configuration) OnConfigurationChangedEvent(proton.inject.observer.event.OnConfigurationChangedEvent)

Aggregations

Configuration (android.content.res.Configuration)8 OnConfigurationChangedEvent (proton.inject.observer.event.OnConfigurationChangedEvent)8