Ejemplo n.º 1
0
        public Explanation()
        {
            InitializeComponent();
            BindingContext = this;

            var tgr = new TapGestureRecognizer();

            tgr.Tapped += (s, e) =>
            {
                Clicked?.Invoke(this, e);
            };
            GestureRecognizers.Add(tgr);

            Back.Opacity = 0;
            Back.ScaleTo(0.1, 0);
            Device.BeginInvokeOnMainThread(() =>
            {
                Back.ScaleTo(10, 350);
                Back.FadeTo(0.5, 350).ContinueWith((arg) =>
                {
                    Device.BeginInvokeOnMainThread(() =>
                    {
                        Discription.IsVisible = true;
                    });
                });
            });
        }