public class PreferenceUtil
extends java.lang.Object
Constructor and Description |
---|
PreferenceUtil()
|
Modifier and Type | Method and Description |
---|---|
static void |
changeDesign(android.content.Context context)
|
static int[] |
getAlarmTime()
|
static boolean |
getBooleanSettings(java.lang.String key,
boolean defaultValue)
|
static boolean |
getBooleanSettings(java.lang.String key,
boolean defaultValue,
android.content.Context context)
|
static int |
getGeneralTheme()
|
static int |
getIntSettings(java.lang.String key,
int defaultValue)
|
static java.lang.String |
getPassword(android.content.Context context)
|
static java.lang.String |
getTeacherlistURL(android.content.Context context)
|
static java.lang.String |
getTodayURL(android.content.Context context)
|
static java.lang.String |
getTomorrowURL(android.content.Context context)
|
static java.lang.String |
getUsername(android.content.Context context)
|
static boolean |
isAlarmOn(android.content.Context context)
|
static boolean |
isBetaEnabled()
|
static boolean |
isBothMenu()
|
static boolean |
isDark()
|
static boolean |
isFilteredMenu()
|
static boolean |
isFullTeacherNames()
|
static boolean |
isFullTeacherNamesSpecific()
|
static boolean |
isHour()
|
static boolean |
isIntroShown()
|
static boolean |
isNavigation()
|
static boolean |
isNews()
|
static boolean |
isNotesMenu()
|
static boolean |
isOfficeMenu()
|
static boolean |
isOfflineMode()
|
static boolean |
isOldDesign()
|
static boolean |
isParents()
|
static boolean |
isPhoneRegistered()
|
static boolean |
isSections()
|
static boolean |
isShop()
|
static boolean |
isTimetableMenu()
|
static boolean |
isTransportMenu()
|
static boolean |
isTwoNotifications()
|
static boolean |
isUnfilteredMenu()
|
static void |
setAlarm(android.content.Context context,
boolean value)
|
static void |
setAlarmTime(int... times)
|
static boolean |
showWeekDate()
|
public static boolean getBooleanSettings(java.lang.String key, boolean defaultValue, android.content.Context context)
public static boolean getBooleanSettings(java.lang.String key, boolean defaultValue)
public static boolean isBetaEnabled()
public static boolean isHour()
public static boolean isAlarmOn(android.content.Context context)
public static boolean isFullTeacherNames()
public static boolean isFullTeacherNamesSpecific()
public static void setAlarm(android.content.Context context, boolean value)
public static boolean showWeekDate()
public static boolean isParents()
public static boolean isTwoNotifications()
public static boolean isIntroShown()
public static boolean isPhoneRegistered()
public static boolean isSections()
public static boolean isBothMenu()
public static boolean isFilteredMenu()
public static boolean isUnfilteredMenu()
public static boolean isOfficeMenu()
public static boolean isTransportMenu()
public static boolean isNotesMenu()
public static boolean isTimetableMenu()
public static boolean isNews()
public static boolean isShop()
public static boolean isNavigation()
public static java.lang.String getUsername(android.content.Context context)
public static java.lang.String getPassword(android.content.Context context)
public static java.lang.String getTodayURL(android.content.Context context)
public static java.lang.String getTomorrowURL(android.content.Context context)
public static boolean isOfflineMode()
public static java.lang.String getTeacherlistURL(android.content.Context context)
public static int[] getAlarmTime()
public static void setAlarmTime(int... times)
public static int getIntSettings(java.lang.String key, int defaultValue)
@StyleRes public static int getGeneralTheme()
public static boolean isDark()
public static boolean isOldDesign()
public static void changeDesign(android.content.Context context)