public final class

ListPreference.SimpleSummaryProvider

extends java.lang.Object

implements Preference.SummaryProvider<ListPreference>

 java.lang.Object

↳androidx.preference.ListPreference.SimpleSummaryProvider

Overview

A simple 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

Methods
public static ListPreference.SimpleSummaryProvidergetInstance()

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

public java.lang.CharSequenceprovideSummary(ListPreference preference)

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

Methods

public static ListPreference.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(ListPreference preference)