Exemplo n.º 1
0
        public void Handle_OnFinish(object sender, EventArgs e)
        {
            var parentAnimation  = new Animation();
            var fadeOutAnimation = new Animation(v => AnimationView.FadeTo(0, 250, Easing.CubicInOut));
            var fadeInAnimation  = new Animation(v => TextLabel.FadeTo(1, 250, Easing.CubicInOut));

            parentAnimation.Add(0, 0.5, fadeOutAnimation);
            parentAnimation.Add(0.5, 1, fadeInAnimation);

            parentAnimation.Commit(this, "ChildAnimations", 16, 500, null);
        }