PreferenceActivity.StartPreferenceFragment(Fragment, Boolean) 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.
Start a new fragment.
[Android.Runtime.Register("startPreferenceFragment", "(Landroid/app/Fragment;Z)V", "GetStartPreferenceFragment_Landroid_app_Fragment_ZHandler")]
public virtual void StartPreferenceFragment (Android.App.Fragment? fragment, bool push);
[<Android.Runtime.Register("startPreferenceFragment", "(Landroid/app/Fragment;Z)V", "GetStartPreferenceFragment_Landroid_app_Fragment_ZHandler")>]
abstract member StartPreferenceFragment : Android.App.Fragment * bool -> unit
override this.StartPreferenceFragment : Android.App.Fragment * bool -> unit
Parameters
- fragment
- Fragment
The fragment to start
- push
- Boolean
If true, the current fragment will be pushed onto the back stack. If false, the current fragment will be replaced.
- Attributes
Remarks
Start a new 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.