belongs to Maven artifact androidx.core:core:1.0.0-alpha1

SharedPreferencesCompat.EditorCompat

public static final class SharedPreferencesCompat.EditorCompat
extends Object

java.lang.Object
   ↳ androidx.core.content.SharedPreferencesCompat.EditorCompat


This class is deprecated.
This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Summary

Public methods

void apply(SharedPreferences.Editor editor)

This method is deprecated. This compatibility method is no longer required. Use SharedPreferences.Editor.apply() directly.

static SharedPreferencesCompat.EditorCompat getInstance()

This method is deprecated. This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Inherited methods

Public methods

apply

void apply (SharedPreferences.Editor editor)

This method is deprecated.
This compatibility method is no longer required. Use SharedPreferences.Editor.apply() directly.

Parameters
editor SharedPreferences.Editor

getInstance

SharedPreferencesCompat.EditorCompat getInstance ()

This method is deprecated.
This compatibility class is no longer required. Use SharedPreferences.Editor directly.

Returns
SharedPreferencesCompat.EditorCompat