private async void Button_OnClicked(object sender, EventArgs e)
        {
            var cmd = new Command(async() => await DisplayAlert("hehe", "hehe", "ok"), () => true);

            var page = new CoordinatorPage
            {
                Title                           = "Finally Worked Monkeys!",
                NestedContent                   = new NestedPage(),
                ImageSource                     = "splash.png",
                StatusBarColor                  = Color.DarkMagenta,
                ToolbarBackgroundColor          = Color.DimGray,
                CoordinatorBackgroundColor      = Color.Green,
                CoordinatorScrimBackgroundColor = Color.Red,
                FloatingButtonImageSource       = "icon.png",
                FloatingButtonBackgroundColor   = Color.DarkRed,
                FloatingButtonCommand           = cmd
            };


            await Navigation.PushAsync(page);
        }
        private async void Button_OnClicked(object sender, EventArgs e)
        {
            var page = new CoordinatorPage
            {
                Title                           = "Finally Worked Monkeys!",
                NestedContent                   = new NestedPage(),
                ImageSource                     = "monkey.png",
                StatusBarColor                  = Color.MediumAquamarine,
                ToolbarBackgroundColor          = Color.MediumAquamarine,
                CoordinatorBackgroundColor      = Color.MediumAquamarine,
                CoordinatorScrimBackgroundColor = Color.Transparent,
                FloatingButtonImageSource       = "icon.png",
                FloatingButtonBackgroundColor   = Color.DarkRed,
                FloatingButtonCommand           = new Command(async() => await DisplayAlert("hehe", "hehe", "ok"), () => true),
                ChangeStatusBarColor            = true,
                HasBackButton                   = true
            };


            await Navigation.PushAsync(page);
        }
        protected override void OnLayout(bool changed, int l, int t, int r, int b)
        {
            base.OnLayout(changed, l, t, r, b);

            int marginTop = 0;

            if (!CoordinatorPage.GetIsBarScroll(Element.CurrentPage))
            {
                marginTop = _barHeight;
            }

            PageController.ContainerArea = new Rectangle(0, 0, Context.FromPixels(r - l), Context.FromPixels(b - t - marginTop));

            for (var i = 0; i < ChildCount; i++)
            {
                if (GetChildAt(i) is ViewGroup viewGroup)
                {
                    if (viewGroup.ChildCount == 1 && viewGroup.GetChildAt(0) is PageRenderer)
                    {
                        viewGroup.Layout(0, 0, r - l, b - t - marginTop);
                    }
                }
            }
        }
 void UpdateIsBarScroll()
 {
     HidesBarsOnSwipe = CoordinatorPage.GetIsBarScroll(_coordinatorPage.CurrentPage);
 }