public static interface Preference.OnPreferenceClickListener
android.preference.Preference.OnPreferenceClickListener |
单击 Preference
时要调用的回调的接口定义。
Public methods |
|
---|---|
abstract boolean |
onPreferenceClick(Preference preference) 当偏好被点击时调用。 |
boolean onPreferenceClick (Preference preference)
当偏好被点击时调用。
Parameters | |
---|---|
preference |
Preference : The Preference that was clicked. |
Returns | |
---|---|
boolean |
True if the click was handled. |