roboguice.activity.event.OnConfigurationChangedEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of roboguice Show documentation
Show all versions of roboguice Show documentation
A framework for using Google Guice dependency injection in Android.
package roboguice.activity.event;
import android.content.res.Configuration;
/**
* Class representing the event raised by RoboActivity.onConfigurationChanged()
*
* @author Adam Tybor
* @author John Ericksen
*/
public class OnConfigurationChangedEvent {
protected Configuration oldConfig;
protected Configuration newConfig;
public OnConfigurationChangedEvent(Configuration oldConfig, Configuration newConfig) {
this.oldConfig = oldConfig;
this.newConfig = newConfig;
}
public Configuration getOldConfig() {
return oldConfig;
}
public Configuration getNewConfig() {
return newConfig;
}
}