Udostępnij za pośrednictwem


Fragment.OnHiddenChanged(Boolean) Method

Definition

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

[Android.Runtime.Register("onHiddenChanged", "(Z)V", "GetOnHiddenChanged_ZHandler")]
public virtual void OnHiddenChanged (bool hidden);
[<Android.Runtime.Register("onHiddenChanged", "(Z)V", "GetOnHiddenChanged_ZHandler")>]
abstract member OnHiddenChanged : bool -> unit
override this.OnHiddenChanged : bool -> unit

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