Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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