public final class

EditTextPreference.SimpleSummaryProvider

extends java.lang.Object

implements Preference.SummaryProvider<EditTextPreference>

 java.lang.Object

↳androidx.preference.EditTextPreference.SimpleSummaryProvider

Overview

A simple Preference.SummaryProvider implementation for an EditTextPreference. If no value has been set, the summary displayed will be 'Not set', otherwise the summary displayed will be the value set for this preference.

Summary

Methods
public static EditTextPreference.SimpleSummaryProvidergetInstance()

Retrieve a singleton instance of this simple Preference.SummaryProvider implementation.

public java.lang.CharSequenceprovideSummary(EditTextPreference preference)

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public static EditTextPreference.SimpleSummaryProvider getInstance()

Retrieve a singleton instance of this simple Preference.SummaryProvider implementation.

Returns:

a singleton instance of this simple Preference.SummaryProvider implementation

public java.lang.CharSequence provideSummary(EditTextPreference preference)