# Print output for @column tags ?>
Developers

- Design
- Develop
- Distribute

Developer Console

## Most visited

## Recently visited

## Results for

# Preference.OnPreferenceClickListener

`public static interface Preference.OnPreferenceClickListener`
``

android.preference.Preference.OnPreferenceClickListener

This interface is deprecated.
Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.

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

## Summary

### Public methods
`abstract boolean` | `onPreferenceClick(Preference preference)` Called when a Preference has been clicked.

## Public methods

### onPreferenceClick

    public abstract boolean onPreferenceClick (Preference preference)

Called when a Preference has been clicked.

Parameters
`preference` | `Preference`: The Preference that was clicked.

Returns
`boolean` | True if the click was handled.

Full name *
Email address *
Company / developer name
One of your Play Store app URLs *
Which best describes your business:*
Apps
Games
Apps & Games
*
*