private void UpdateCards()
        {
            LoadCards();

            cardsAdapter         = new ManagersAdapter(this, cardItems);
            managersList.Adapter = cardsAdapter;
        }
        private void OnSearchUpdate(object sender, Android.Text.TextChangedEventArgs e)
        {
            if (!string.IsNullOrEmpty(searchField.Text))
            {
                CardsLoading($"SELECT * FROM Managers WHERE ManagerName LIKE '%{searchField.Text}%'");
            }
            else
            {
                LoadCards();
            }

            cardsAdapter         = new ManagersAdapter(this, cardItems);
            managersList.Adapter = cardsAdapter;
        }
        private void OnManagerAdded(object sender, System.EventArgs e)
        {
            if (string.IsNullOrWhiteSpace(newName.Text) || string.IsNullOrWhiteSpace(newPhone.Text))
            {
                Toast.MakeText(this, "Enter all data before adding.", ToastLength.Short).Show();
                return;
            }

            CardsLoading($"INSERT INTO Managers (ManagerName, ManagerPhone) VALUES ('{newName.Text}', '{newPhone.Text}')");
            CardsLoading("SELECT * FROM Managers");

            cardsAdapter         = new ManagersAdapter(this, cardItems);
            managersList.Adapter = cardsAdapter;

            newName.Text = newPhone.Text = string.Empty;
        }