Code example for Preferences

Methods: getBoolean

0
    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() { 
        return applicationPreferences.getBoolean("landscape", false);
    } 
 
    public void setLandscape(boolean value) {
        set("landscape", value);
    }