Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

SimpleSummaryProvider

class SimpleSummaryProvider : Preference.SummaryProvider<ListPreference!>
kotlin.Any
   ↳ androidx.preference.ListPreference.SimpleSummaryProvider

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

Summary

Public methods
static ListPreference.SimpleSummaryProvider!

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

CharSequence!

Public methods

getInstance

static fun getInstance(): ListPreference.SimpleSummaryProvider!

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

Return
ListPreference.SimpleSummaryProvider! a singleton instance of this simple androidx.preference.Preference.SummaryProvider implementation

provideSummary

fun provideSummary(preference: ListPreference!): CharSequence!