Example #1
0
        private async Task MoveLowerStack()
        {
            if (i == 0)
            {
                await LowerStack.TranslateTo(0, 130.0, 500, Easing.Linear);

                i++;
            }
            else
            {
                await LowerStack.TranslateTo(0, pageHeight - 250.0, 500, Easing.Linear);

                i = 0;
            }
        }
Example #2
0
        protected override async void OnAppearing()
        {
            base.OnAppearing();
            lastCountrySelected = 0;
            if (i != 0)
            {
                await UpperStack.TranslateTo(0, 0, 500, Easing.Linear);

                await LowerStack.TranslateTo(0, pageHeight - 250.0, 500, Easing.Linear);

                MiddleStack.IsVisible = false;
            }
            i = 0;
            await Task.Delay(2000);

            // Uncomment to start the arrow Animation
            //new Command(async () => await LooperAnimation()).Execute(null);
        }
Example #3
0
 protected override async void OnSizeAllocated(double width, double height)
 {
     base.OnSizeAllocated(width, height);
     pageHeight = height;
     await LowerStack.TranslateTo(0, height - 250.0, 1);
 }