Java android.support.v4.preference PreferenceManager fields, constructors, methods, implement or subclass

Example usage for Java android.support.v4.preference PreferenceManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.support.v4.preference PreferenceManager.

The text is from its open source code.

Method

SharedPreferencesgetDefaultSharedPreferences(Context context)
Gets a SharedPreferences instance that points to the default file that is used by the preference framework in the given context.
voidsetDefaultValues(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.
voidsetDefaultValues(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.