EditTextPreference.SimpleSummaryProvider

public static final class EditTextPreference.SimpleSummaryProvider
extends Object implements SummaryProvider<EditTextPreference>

java.lang.Object
   ↳ androidx.preference.EditTextPreference.SimpleSummaryProvider


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

Public methods

static EditTextPreference.SimpleSummaryProvider getInstance()

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

CharSequence provideSummary(EditTextPreference preference)

Inherited methods

Public methods

getInstance

public static EditTextPreference.SimpleSummaryProvider getInstance ()

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

Returns
EditTextPreference.SimpleSummaryProvider a singleton instance of this simple Preference.SummaryProvider implementation

provideSummary

public CharSequence provideSummary (EditTextPreference preference)

Parameters
preference EditTextPreference

Returns
CharSequence