All Downloads are FREE. Search and download functionalities are using the official Maven repository.

roboguice.activity.event.OnConfigurationChangedEvent Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy