共用方式為


PreferenceActivity.OnPreferenceStartFragment Method

Definition

Called when the user has clicked on a Preference that has a fragment class name associated with it.

[Android.Runtime.Register("onPreferenceStartFragment", "(Landroid/preference/PreferenceFragment;Landroid/preference/Preference;)Z", "GetOnPreferenceStartFragment_Landroid_preference_PreferenceFragment_Landroid_preference_Preference_Handler")]
public virtual bool OnPreferenceStartFragment (Android.Preferences.PreferenceFragment? caller, Android.Preferences.Preference? pref);
[<Android.Runtime.Register("onPreferenceStartFragment", "(Landroid/preference/PreferenceFragment;Landroid/preference/Preference;)Z", "GetOnPreferenceStartFragment_Landroid_preference_PreferenceFragment_Landroid_preference_Preference_Handler")>]
abstract member OnPreferenceStartFragment : Android.Preferences.PreferenceFragment * Android.Preferences.Preference -> bool
override this.OnPreferenceStartFragment : Android.Preferences.PreferenceFragment * Android.Preferences.Preference -> bool

Parameters

pref
Preference

Returns

Implements

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to