共用方式為


Fragment.IsRemoving Property

Definition

Return true if this fragment is currently being removed from its activity.

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

Property Value

Attributes

Remarks

Return true if this fragment is currently being removed from its activity. This is <em>not</em> whether its activity is finishing, but rather whether it is in the process of being removed from its activity.

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

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