Language

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

true when the fragment is marked as explicitly detached; otherwise, false.

Attributes

Remarks

Returns true if the fragment has been explicitly detached from the UI with Detach(Fragment).

Android reference 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