Freigeben über


Fragment.FragmentManager Property

Definition

Return the FragmentManager for interacting with fragments associated with this fragment's activity.

public Android.App.FragmentManager? FragmentManager { [Android.Runtime.Register("getFragmentManager", "()Landroid/app/FragmentManager;", "")] get; }
[<get: Android.Runtime.Register("getFragmentManager", "()Landroid/app/FragmentManager;", "")>]
member this.FragmentManager : Android.App.FragmentManager

Property Value

Attributes

Remarks

Return the FragmentManager for interacting with fragments associated with this fragment's activity. Note that this will be non-null slightly before #getActivity(), during the time from when the fragment is placed in a FragmentTransaction until it is committed and attached to its activity.

If this Fragment is a child of another Fragment, the FragmentManager returned here will be the parent's #getChildFragmentManager().

Java documentation for android.app.Fragment.getFragmentManager().

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