共用方式為


Fragment.IsAdded Property

Definition

Return true if the fragment is currently added to its activity.

public bool IsAdded { [Android.Runtime.Register("isAdded", "()Z", "")] get; }
[<get: Android.Runtime.Register("isAdded", "()Z", "")>]
member this.IsAdded : bool

Property Value

Attributes

Remarks

Return true if the fragment is currently added to its activity.

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

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