Android.Preferences.PreferenceActivity.StartWithFragment Method
Start a new instance of this activity, showing only the given preference fragment.

Syntax

[Android.Runtime.Register("startWithFragment", "(Ljava/lang/String;Landroid/os/Bundle;Landroid/app/Fragment;III)V", "GetStartWithFragment_Ljava_lang_String_Landroid_os_Bundle_Landroid_app_Fragment_IIIHandler")]
public virtual void StartWithFragment (string fragmentName, Android.OS.Bundle args, Android.App.Fragment resultTo, int resultRequestCode, int titleRes, int shortTitleRes)

Parameters

fragmentName
The name of the fragment to display.
args
Optional arguments to supply to the fragment.
resultTo
Option fragment that should receive the result of the activity launch.
resultRequestCode
If resultTo is non-null, this is the request code in which to report the result.
titleRes
Resource ID of string to display for the title of this set of preferences.
shortTitleRes
Resource ID of string to display for the short title of this set of preferences.

Remarks

Start a new instance of this activity, showing only the given preference fragment. When launched in this mode, the header list will be hidden and the given preference fragment will be instantiated and fill the entire activity.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14