PreferenceActivity.ExtraShowFragment Field

Definition

When starting this activity, the invoking Intent can contain this extra string to specify which fragment should be initially displayed.

[Android.Runtime.Register("EXTRA_SHOW_FRAGMENT")]
public const string ExtraShowFragment;
[<Android.Runtime.Register("EXTRA_SHOW_FRAGMENT")>]
val mutable ExtraShowFragment : string

Field Value

Attributes

Remarks

When starting this activity, the invoking Intent can contain this extra string to specify which fragment should be initially displayed. <p/>Starting from Key Lime Pie, when this argument is passed in, the PreferenceActivity will call isValidFragment() to confirm that the fragment class name is valid for this activity.

Java documentation for android.preference.PreferenceActivity.EXTRA_SHOW_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.

Applies to