Exemplo n.º 1
0
        void editCard()
        {
            Card newC = new Card();

            newC.id      = oldCard.id;
            newC.fName   = _fname.Text;
            newC.lName   = _lname.Text;
            newC.phone   = _phone.Text;
            newC.email   = _email.Text;
            newC.company = _company.Text;
            newC.title   = _title.Text;

            vm.Edit(newC, oldCard);

            //Tells View to refresh the list
            ListCardView.needsRefresh      = true;
            CardSingleView.needsRefreshing = true;

            Navigation.PopAsync();
        }