setSummary

open fun setSummary(@Nullable summary: CharSequence)(source)

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

If a SummaryProvider has already been set.