protected override void OnAppearing()
        {
            //if (PropertyController.BasketFlag)
            //{
            //    PropertyController.BasketFlag = false;
            //    Navigation.PushAsync(new BasketPage());
            //}
            //else
            //{
            //    PropertyController.BasketFlag = true;
            //}

            BasketViewModel viewModel = BindingContext as BasketViewModel;

            viewModel.Refresh();
            int totalPrice = SetTotalPrice();

            if (totalPrice == 0)
            {
                btn_Proceed.IsEnabled = false;
            }
            else
            {
                btn_Proceed.IsEnabled = true;
            }
        }
        void DeleteAll(System.Object sender, System.EventArgs e)
        {
            productLogic.RemoveProductsFromCart();
            BasketViewModel viewModel = BindingContext as BasketViewModel;

            viewModel.Refresh();
            SetTotalPrice();
        }