Läs på engelska

Dela via


View.DispatchDisplayHint(ViewStates) Method

Definition

Dispatch a hint about whether this view is displayed.

C#
[Android.Runtime.Register("dispatchDisplayHint", "(I)V", "GetDispatchDisplayHint_IHandler")]
public virtual void DispatchDisplayHint (Android.Views.ViewStates hint);

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

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