added in version 24.1.0
belongs to Maven artifact com.android.support:support-compat:28.0.0-alpha1
Deprecated since version 27.1.0

SharedPreferencesCompat.EditorCompat

public static final class SharedPreferencesCompat.EditorCompat
extends Object

java.lang.Object
   ↳ android.support.v4.content.SharedPreferencesCompat.EditorCompat


This class was deprecated in API level 27.1.0.
This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Summary

Public methods

void apply(SharedPreferences.Editor editor)

This method was deprecated in API level 27.1.0. This compatibility method is no longer required. Use apply() directly.

static SharedPreferencesCompat.EditorCompat getInstance()

This method was deprecated in API level 27.1.0. This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Inherited methods

From class java.lang.Object

Public methods

apply

added in version 24.1.0
void apply (SharedPreferences.Editor editor)

This method was deprecated in API level 27.1.0.
This compatibility method is no longer required. Use apply() directly.

Parameters
editor SharedPreferences.Editor

getInstance

added in version 24.1.0
SharedPreferencesCompat.EditorCompat getInstance ()

This method was deprecated in API level 27.1.0.
This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Returns
SharedPreferencesCompat.EditorCompat