Code example for Preferences

Methods: getBoolean

0
 
    public void setPreferredScale(int value) {
        set("scale", value);
    } 
    public boolean isHideEmulators() { 
        return applicationPreferences.getBoolean("hideEmulators", false);
    } 
 
    public void setHideEmulators(boolean value) {
        set("hideEmulators", value);
    } 
 
    public boolean isUpsideDown() { 
        return applicationPreferences.getBoolean("upsideDown", false);
    } 
 
    public void setUpsideDown(boolean value) {
        set("upsideDown", value);
    } 
 
    public boolean isLandscape() {