Example usage for Java android.support.v4.preference PreferenceManager fields, constructors, methods, implement or subclass
The text is from its open source code.
SharedPreferences | getDefaultSharedPreferences(Context context) Gets a SharedPreferences instance that points to the default file that is used by the preference framework in the given context. |
void | setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) Similar to #setDefaultValues(Context,int,boolean) but allows the client to provide the filename and mode of the shared preferences file. |
void | setDefaultValues(Context context, int resId, boolean readAgain) Sets the default values from an XML preference file by reading the values defined by each Preference item's android:defaultValue attribute. |