View.OnDisplayHint(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gives this view a hint about whether is displayed or not.
[Android.Runtime.Register("onDisplayHint", "(I)V", "GetOnDisplayHint_IHandler")]
protected virtual void OnDisplayHint (int hint);
[<Android.Runtime.Register("onDisplayHint", "(I)V", "GetOnDisplayHint_IHandler")>]
abstract member OnDisplayHint : int -> unit
override this.OnDisplayHint : int -> unit
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.