Sdílet prostřednictvím


Fragment.IsDetached Property

Definition

Return true if the fragment has been explicitly detached from the UI.

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

Property Value

Attributes

Remarks

Return true if the fragment has been explicitly detached from the UI. That is, FragmentTransaction#detach(Fragment) FragmentTransaction.detach(Fragment) has been used on it.

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

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