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

OnPreferenceClickListener

interface OnPreferenceClickListener
androidx.preference.Preference.OnPreferenceClickListener

Interface definition for a callback to be invoked when a Preference is clicked.

Summary

Public methods
abstract Boolean

Called when a preference has been clicked.

Public methods

onPreferenceClick

abstract fun onPreferenceClick(preference: Preference!): Boolean

Called when a preference has been clicked.

Parameters
preference Preference!: The preference that was clicked
Return
Boolean true if the click was handled