FragmentManager.PutFragment(Bundle, String, Fragment) FragmentManager.PutFragment(Bundle, String, Fragment) Method

Definition

Put a reference to a fragment in a Bundle.

[Android.Runtime.Register("putFragment", "(Landroid/os/Bundle;Ljava/lang/String;Landroid/app/Fragment;)V", "GetPutFragment_Landroid_os_Bundle_Ljava_lang_String_Landroid_app_Fragment_Handler")]
public abstract void PutFragment (Android.OS.Bundle bundle, string key, Android.App.Fragment fragment);
abstract member PutFragment : Android.OS.Bundle * string * Android.App.Fragment -> unit

Parameters

bundle
Bundle Bundle

The bundle in which to put the fragment reference.

key
String String

The name of the entry in the bundle.

fragment
Fragment Fragment

The Fragment whose reference is to be stored.

Remarks

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