Läs på engelska

Dela via


View.OnDisplayHint(Int32) Method

Definition

Gives this view a hint about whether is displayed or not.

C#
[Android.Runtime.Register("onDisplayHint", "(I)V", "GetOnDisplayHint_IHandler")]
protected virtual void OnDisplayHint(int hint);

Parameters

hint
Int32

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

Attributes

Remarks

Gives this view a hint about whether is displayed or not. 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.onDisplayHint(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