PreferenceFragment.IOnPreferenceStartFragmentCallback.OnPreferenceStartFragment Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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:Android.Preferences.PreferenceFragment/IOnPreferenceStartFragmentCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public 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:Android.Preferences.PreferenceFragment/IOnPreferenceStartFragmentCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnPreferenceStartFragment : Android.Preferences.PreferenceFragment * Android.Preferences.Preference -> bool
Parameters
- caller
- PreferenceFragment
- pref
- Preference
Returns
- Attributes
Remarks
Called when the user has clicked on a Preference that has a fragment class name associated with it. The implementation to should instantiate and switch to an instance of the given fragment.
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.