app/src/main/java/com/geekyouup/android/ustopwatch/SettingsActivity.java
//Called from parent Activity to ensure all settings are always loaded
Called from parent Activity to ensure all settings are always loaded
Called from parent Activity to ensure all settings are always loaded
public static void loadSettings(SharedPreferences prefs) {
        isLaptimerEnabled = prefs.getBoolean(KEY_LAP_TIMER, false);
        isEndlessAlarm = prefs.getBoolean(KEY_ENDLESS_ALARM, false);
        isVibrate = prefs.getBoolean(KEY_VIBRATE, false);
        isAnimating = prefs.getBoolean(KEY_ANIMATING, true);
    }
public static void loadSettings ( SharedPreferences prefs ) { isLaptimerEnabled = prefs . getBoolean ( KEY_LAP_TIMER , false ) ; isEndlessAlarm = prefs . getBoolean ( KEY_ENDLESS_ALARM , false ) ; isVibrate = prefs . getBoolean ( KEY_VIBRATE , false ) ; isAnimating = prefs . getBoolean ( KEY_ANIMATING , true ) ; }
Called from parent Activity to ensure all settings are always loaded
Called from parent Activity to ensure all settings are always loaded
//isTicking = prefs.getBoolean(KEY_TICKING, false);