Most visited

Recently visited

Added in API level 1

Preference.OnPreferenceClickListener

public static interface Preference.OnPreferenceClickListener

android.preference.Preference.OnPreferenceClickListener


单击 Preference时要调用的回调的接口定义。

Summary

Public methods

abstract boolean onPreferenceClick(Preference preference)

当偏好被点击时调用。

Public methods

onPreferenceClick

Added in API level 1
boolean onPreferenceClick (Preference preference)

当偏好被点击时调用。

Parameters
preference Preference: The Preference that was clicked.
Returns
boolean True if the click was handled.

Hooray!