FragmentManager.Fragments Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get a list of all fragments that are currently added to the FragmentManager.
public abstract System.Collections.Generic.IList<Android.App.Fragment>? Fragments { [Android.Runtime.Register("getFragments", "()Ljava/util/List;", "GetGetFragmentsHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getFragments", "()Ljava/util/List;", "GetGetFragmentsHandler", ApiSince=26)>]
member this.Fragments : System.Collections.Generic.IList<Android.App.Fragment>
Property Value
A list of all fragments that are added to the FragmentManager.
- Attributes
Remarks
Get a list of all fragments that are currently added to the FragmentManager. This may include those that are hidden as well as those that are shown. This will not include any fragments only in the back stack, or fragments that are detached or removed. The order of the fragments in the list is the order in which they were added or attached.
Android reference for android.app.FragmentManager.getFragments.
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.