View.DispatchDisplayHint(ViewStates) Method

Definition

Dispatch a hint about whether this view is displayed.

[Android.Runtime.Register("dispatchDisplayHint", "(I)V", "GetDispatchDisplayHint_IHandler")]
public virtual void DispatchDisplayHint (Android.Views.ViewStates hint);
[<Android.Runtime.Register("dispatchDisplayHint", "(I)V", "GetDispatchDisplayHint_IHandler")>]
abstract member DispatchDisplayHint : Android.Views.ViewStates -> unit
override this.DispatchDisplayHint : Android.Views.ViewStates -> unit

Parameters

hint
ViewStates

A hint about whether or not this view is displayed: #VISIBLE or #INVISIBLE.

Attributes

Remarks

Dispatch a hint about whether this view is displayed. For instance, when a View moves out of the screen, it might receives a display hint indicating the view is not displayed. Applications should not <em>rely</em> on this hint as there is no guarantee that they will receive one.

Java documentation for android.view.View.dispatchDisplayHint(int).

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