Example #1
0
        // When the user selects a shipping rate, set that rate on the checkout and proceed to the discount activity.
        private void OnShippingRateSelected(ShippingRate shippingRate)
        {
            ShowLoadingDialog(Resource.String.syncing_data);

            SampleApplication.SetShippingRate(shippingRate, delegate
            {
                DismissLoadingDialog();
                StartActivity(new Intent(this, typeof(DiscountActivity)));
            }, OnError);
        }