Class android.preference.Preference

Now deprecated.

Changed Constructors
Preference(Context) Now deprecated.
 
Preference(Context, AttributeSet) Now deprecated.
 
Preference(Context, AttributeSet, int) Now deprecated.
 
Preference(Context, AttributeSet, int, int) Now deprecated.
 
 

Changed Methods
boolean callChangeListener(Object) Now deprecated.
 
int compareTo(Preference) Now deprecated.
 
Preference findPreferenceInHierarchy(String) Now deprecated.
 
Context getContext() Now deprecated.
 
String getDependency() Now deprecated.
 
Editor getEditor() Now deprecated.
 
Bundle getExtras() Now deprecated.
 
String getFragment() Now deprecated.
 
Drawable getIcon() Now deprecated.
 
Intent getIntent() Now deprecated.
 
String getKey() Now deprecated.
 
int getLayoutResource() Now deprecated.
 
OnPreferenceChangeListener getOnPreferenceChangeListener() Now deprecated.
 
OnPreferenceClickListener getOnPreferenceClickListener() Now deprecated.
 
int getOrder() Now deprecated.
 
PreferenceGroup getParent() Now deprecated.
 
boolean getPersistedBoolean(boolean) Now deprecated.
 
float getPersistedFloat(float) Now deprecated.
 
int getPersistedInt(int) Now deprecated.
 
long getPersistedLong(long) Now deprecated.
 
String getPersistedString(String) Now deprecated.
 
Set<String> getPersistedStringSet(Set<String>) Now deprecated.
 
PreferenceDataStore getPreferenceDataStore() Now deprecated.
 
PreferenceManager getPreferenceManager() Now deprecated.
 
SharedPreferences getSharedPreferences() Now deprecated.
 
boolean getShouldDisableView() Now deprecated.
 
CharSequence getSummary() Now deprecated.
 
CharSequence getTitle() Now deprecated.
 
int getTitleRes() Now deprecated.
 
View getView(View, ViewGroup) Now deprecated.
 
int getWidgetLayoutResource() Now deprecated.
 
boolean hasKey() Now deprecated.
 
boolean isEnabled() Now deprecated.
 
boolean isIconSpaceReserved() Now deprecated.
 
boolean isPersistent() Now deprecated.
 
boolean isRecycleEnabled() Now deprecated.
 
boolean isSelectable() Now deprecated.
 
boolean isSingleLineTitle() Now deprecated.
 
void notifyChanged() Now deprecated.
 
void notifyDependencyChange(boolean) Now deprecated.
 
void notifyHierarchyChanged() Now deprecated.
 
void onAttachedToActivity() Now deprecated.
 
void onAttachedToHierarchy(PreferenceManager) Now deprecated.
 
void onBindView(View) Now deprecated.
 
void onClick() Now deprecated.
 
View onCreateView(ViewGroup) Now deprecated.
 
void onDependencyChanged(Preference, boolean) Now deprecated.
 
Object onGetDefaultValue(TypedArray, int) Now deprecated.
 
void onParentChanged(Preference, boolean) Now deprecated.
 
void onPrepareForRemoval() Now deprecated.
 
void onRestoreInstanceState(Parcelable) Now deprecated.
 
Parcelable onSaveInstanceState() Now deprecated.
 
void onSetInitialValue(boolean, Object) Now deprecated.
 
Bundle peekExtras() Now deprecated.
 
boolean persistBoolean(boolean) Now deprecated.
 
boolean persistFloat(float) Now deprecated.
 
boolean persistInt(int) Now deprecated.
 
boolean persistLong(long) Now deprecated.
 
boolean persistString(String) Now deprecated.
 
boolean persistStringSet(Set<String>) Now deprecated.
 
void restoreHierarchyState(Bundle) Now deprecated.
 
void saveHierarchyState(Bundle) Now deprecated.
 
void setDefaultValue(Object) Now deprecated.
 
void setDependency(String) Now deprecated.
 
void setEnabled(boolean) Now deprecated.
 
void setFragment(String) Now deprecated.
 
void setIconSpaceReserved(boolean) Now deprecated.
 
void setIntent(Intent) Now deprecated.
 
void setKey(String) Now deprecated.
 
void setLayoutResource(int) Now deprecated.
 
void setOnPreferenceChangeListener(OnPreferenceChangeListener) Now deprecated.
 
void setOnPreferenceClickListener(OnPreferenceClickListener) Now deprecated.
 
void setOrder(int) Now deprecated.
 
void setPersistent(boolean) Now deprecated.
 
void setPreferenceDataStore(PreferenceDataStore) Now deprecated.
 
void setRecycleEnabled(boolean) Now deprecated.
 
void setSelectable(boolean) Now deprecated.
 
void setShouldDisableView(boolean) Now deprecated.
 
void setSingleLineTitle(boolean) Now deprecated.
 
void setWidgetLayoutResource(int) Now deprecated.
 
boolean shouldCommit() Now deprecated.
 
boolean shouldDisableDependents() Now deprecated.
 
boolean shouldPersist() Now deprecated.
 
void setIcon(Drawable) Now deprecated.
 
void setIcon(int) Now deprecated.
 
void setSummary(int) Now deprecated.
 
void setSummary(CharSequence) Now deprecated.
 
void setTitle(int) Now deprecated.
 
void setTitle(CharSequence) Now deprecated.
 
 

Changed Fields
int DEFAULT_ORDER Now deprecated.