setSummary

open fun setSummary(@Nullable summary: CharSequence)

Sets the summary for this preference with a CharSequence.

You can also use a SummaryProvider to dynamically configure the summary of this preference.

Parameters

summary

The summary for the preference

See also

Throws


open fun setSummary(summaryResId: Int)

Sets the summary for this preference with a resource ID.

You can also use a SummaryProvider to dynamically configure the summary of this preference.

Parameters

summaryResId

The summary as a resource

See also