Sdílet prostřednictvím


View.PostInvalidateOnAnimation Method

Definition

Overloads

PostInvalidateOnAnimation()

Cause an invalidate to happen on the next animation time step, typically the next display frame.

PostInvalidateOnAnimation(Int32, Int32, Int32, Int32)

Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.

PostInvalidateOnAnimation()

Cause an invalidate to happen on the next animation time step, typically the next display frame.

[Android.Runtime.Register("postInvalidateOnAnimation", "()V", "GetPostInvalidateOnAnimationHandler")]
public virtual void PostInvalidateOnAnimation ();
[<Android.Runtime.Register("postInvalidateOnAnimation", "()V", "GetPostInvalidateOnAnimationHandler")>]
abstract member PostInvalidateOnAnimation : unit -> unit
override this.PostInvalidateOnAnimation : unit -> unit
Attributes

Remarks

Cause an invalidate to happen on the next animation time step, typically the next display frame.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

Java documentation for android.view.View.postInvalidateOnAnimation().

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.

See also

Applies to

PostInvalidateOnAnimation(Int32, Int32, Int32, Int32)

Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.

[Android.Runtime.Register("postInvalidateOnAnimation", "(IIII)V", "GetPostInvalidateOnAnimation_IIIIHandler")]
public virtual void PostInvalidateOnAnimation (int left, int top, int right, int bottom);
[<Android.Runtime.Register("postInvalidateOnAnimation", "(IIII)V", "GetPostInvalidateOnAnimation_IIIIHandler")>]
abstract member PostInvalidateOnAnimation : int * int * int * int -> unit
override this.PostInvalidateOnAnimation : int * int * int * int -> unit

Parameters

left
Int32

The left coordinate of the rectangle to invalidate.

top
Int32

The top coordinate of the rectangle to invalidate.

right
Int32

The right coordinate of the rectangle to invalidate.

bottom
Int32

The bottom coordinate of the rectangle to invalidate.

Attributes

Remarks

Cause an invalidate of the specified area to happen on the next animation time step, typically the next display frame.

This method can be invoked from outside of the UI thread only when this View is attached to a window.

Java documentation for android.view.View.postInvalidateOnAnimation(int, int, int, 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.

See also

  • <xref:Android.Views.View.Invalidate(System.Int32%2c+System.Int32%2c+System.Int32%2c+System.Int32)>
  • Invalidate(Rect)

Applies to