public BaseViewAnimator Start() { Prepare(view); ResetAnimations(AlphaFromZero); if (PauseAfter == 0) // Must manually restart if Pause After { if (RepeatMode == ValueAnimatorRepeatMode.Restart || RepeatMode == ValueAnimatorRepeatMode.Reverse) { foreach (ObjectAnimator animator in AnimatorAgent.ChildAnimations) { if (animator == null) { continue; } animator.RepeatMode = RepeatMode; animator.RepeatCount = RepeatCount; } } } AnimatorAgent.SetDuration(Duration); AnimatorAgent.Start(); return(this); }
public void Start() { AnimatorAgent.SetDuration(Duration); AnimatorAgent.Start(); }