public abstract class ActivePreferences
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
protected |
ActivePreferences(android.content.Context context) |
protected |
ActivePreferences(android.content.Context context,
java.lang.String preferenceName) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply()
Save current data to other objects.
|
void |
clear()
Clear the data file.
|
void |
commit()
Save current data to other objects.
|
void |
reload()
Reload the data from the preferences file.
|
protected ActivePreferences(android.content.Context context)
protected ActivePreferences(android.content.Context context,
java.lang.String preferenceName)
public void reload()
public void apply()
SharedPreferences.Editor#apply().public void commit()
SharedPreferences.Editor#apply().public void clear()