Beispiel #1
0
        private async void DoneCommandRecieverAsync()
        {
            try
            {
                Address address = new Address()
                {
                    Line1      = Line1,
                    Line2      = Line2,
                    Line3      = Line3,
                    City       = City,
                    State      = State,
                    PostalCode = PostalCode,
                    Country    = Country
                };

                if (AddressTitle.Contains("Shipping"))
                {
                    IsShipping = true;
                }
                else
                {
                    IsShipping = false;
                }
                await _navigationService.GoBackAsync(new NavigationParameters
                {
                    { "EditAddress", address }, { "IsShipping", IsShipping }
                }, animated : false);

                CleanupData();
            }
            catch (Exception ex)
            {
                Crashes.TrackError(ex);
            }
        }