共用方式為


Fragment.IsHidden Property

Definition

Return true if the fragment has been hidden.

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

Property Value

Attributes

Remarks

Return true if the fragment has been hidden. By default fragments are shown. You can find out about changes to this state with #onHiddenChanged. Note that the hidden state is orthogonal to other states -- that is, to be visible to the user, a fragment must be both started and not hidden.

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

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