Läs på engelska

Dela via


Fragment.OnHiddenChanged(Boolean) Method

Definition

Called when the hidden state (as returned by #isHidden() of the fragment has changed.

C#
[Android.Runtime.Register("onHiddenChanged", "(Z)V", "GetOnHiddenChanged_ZHandler")]
public virtual void OnHiddenChanged(bool hidden);

Parameters

hidden
Boolean

True if the fragment is now hidden, false otherwise.

Attributes

Remarks

Called when the hidden state (as returned by #isHidden() of the fragment has changed. Fragments start out not hidden; this will be called whenever the fragment changes state from that.

Java documentation for android.app.Fragment.onHiddenChanged(boolean).

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

Produkt Versioner
.NET for Android .NET for Android API 34, .NET for Android API 35