public interface

Preference.OnPreferenceClickListener

 androidx.preference.Preference.OnPreferenceClickListener

Overview

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

Summary

Methods
public booleanonPreferenceClick(Preference preference)

Called when a preference has been clicked.

Methods

public boolean onPreferenceClick(Preference preference)

Called when a preference has been clicked.

Parameters:

preference: The preference that was clicked

Returns:

true if the click was handled