Preference.OnPreferenceClickListener


public interface 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

Added in 1.0.0
abstract boolean onPreferenceClick(@NonNull Preference preference)

Called when a preference has been clicked.

Parameters
@NonNull Preference preference

The preference that was clicked

Returns
boolean

true if the click was handled