Beispiel #1
0
        protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
        {
            if (_billingHelper != null)
            {
                _billingHelper.HandleActivityResult(requestCode, resultCode, data);

                ToggleAdIfNeeded();
            }
        }
        protected override void OnActivityResult(int requestCode, Result resultCode, Intent data)
        {
            _billingHelper.HandleActivityResult(requestCode, resultCode, data);

            if (resultCode.ToString() == "Ok")
            {
                Toast.MakeText(this, "پرداخت با موفقیت انجام شد", ToastLength.Short).Show();
            }

            else
            {
                Toast.MakeText(this, "خطا در هنگام پرداخت", ToastLength.Short).Show();
            }
        }