Paint.LaunchScreen.ViewDidAppear C# (CSharp) Method

ViewDidAppear() public method

This view is now on screen
public ViewDidAppear ( bool animated ) : void
animated bool If set to true animated.
return void
        public override void ViewDidAppear(bool animated)
        {
            base.ViewDidAppear(animated);

            this.titleImageView.Alpha = 0.0f;
            this.authorImageView.Alpha = 0.0f;
            this.pictureImageView.Alpha = 0.0f;

            this.InvokeOnMainThread(() => {
                UIView.Animate(5f, () => {
                    this.titleImageView.Alpha = 1.0f;
                    this.authorImageView.Alpha = 1.0f;
                    this.pictureImageView.Alpha = 1.0f;
                });
            });

            this.timer = NSTimer.CreateScheduledTimer(6f, () => {
                this.InvokeOnMainThread(() => {
                    this.timer.Dispose();
                    this.timer = null;
                    this.OnLaunchScreenComplete(EventArgs.Empty);
                });
            });
        }