Preference.OnPreferenceClickListener


interface Preference.OnPreferenceClickListener


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

Summary

Public functions

Boolean

Called when a preference has been clicked.

Public functions

onPreferenceClick

Added in 1.0.0
fun onPreferenceClick(preference: Preference): Boolean

Called when a preference has been clicked.

Parameters
preference: Preference

The preference that was clicked

Returns
Boolean

true if the click was handled