다음을 통해 공유


ValueAnimator.RepeatCount Property

Definition

Defines how many times the animation should repeat. -or- Sets how many times the animation should be repeated.

public virtual int RepeatCount { [Android.Runtime.Register("getRepeatCount", "()I", "GetGetRepeatCountHandler")] get; [Android.Runtime.Register("setRepeatCount", "(I)V", "GetSetRepeatCount_IHandler")] set; }
[<get: Android.Runtime.Register("getRepeatCount", "()I", "GetGetRepeatCountHandler")>]
[<set: Android.Runtime.Register("setRepeatCount", "(I)V", "GetSetRepeatCount_IHandler")>]
member this.RepeatCount : int with get, set

Property Value

the number of times the animation should repeat, or #INFINITE

Attributes

Remarks

Property getter documentation:

Defines how many times the animation should repeat. The default value is 0.

Java documentation for android.animation.ValueAnimator.getRepeatCount().

Property setter documentation:

Sets how many times the animation should be repeated. If the repeat count is 0, the animation is never repeated. If the repeat count is greater than 0 or #INFINITE, the repeat mode will be taken into account. The repeat count is 0 by default.

Java documentation for android.animation.ValueAnimator.setRepeatCount(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