Android.Preferences.PreferenceActivity.IsValidFragment Method
Subclasses should override this method and verify that the given fragment is a valid type to be attached to this activity.

Syntax

[Android.Runtime.Register("isValidFragment", "(Ljava/lang/String;)Z", "GetIsValidFragment_Ljava_lang_String_Handler")]
protected virtual bool IsValidFragment (string fragmentName)

Parameters

fragmentName
the class name of the Fragment about to be attached to this activity.

Returns

Documentation for this section has not yet been entered.

Remarks

Subclasses should override this method and verify that the given fragment is a valid type to be attached to this activity. The default implementation returns true for apps built for android:targetSdkVersion older than NoType:android/os/Build$VERSION_CODES;Href=../../../reference/android/os/Build.VERSION_CODES.html#KITKAT. For later versions, it will throw an exception.

[Android Documentation]

Requirements

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