setSummaryOn

open fun setSummaryOn(@Nullable summary: CharSequence)

Sets the summary to be shown when checked.

For more complex configuration of this preference's summary, you should use a Preference.SummaryProvider

Parameters

summary

The summary to be shown when checked


open fun setSummaryOn(summaryResId: Int)

Parameters

summaryResId

The summary as a resource

See also