コード例 #1
0
        void IDialogInterfaceOnClickListener.OnClick(IDialogInterface dialog, DialogInterfaceButton which)
        {
            if ((int)which >= 0)
            {
                this.RadioSelected = (int)which;
                string radioValue = GetSelectedValue();
                _value.Text = radioValue;
            }

            dialog.Dismiss();
        }
コード例 #2
0
        public void OnClick(IDialogInterface dialog, DialogInterfaceButton which)
        {
            switch (which)
            {
            case DialogInterfaceButton.Negative:
                break;

            case DialogInterfaceButton.Positive:
                if (_action != null)
                {
                    _action.DynamicInvoke();
                }
                break;

            case DialogInterfaceButton.Neutral:
                break;
            }
        }
コード例 #3
0
        public void OnClick(IDialogInterface dialog, DialogInterfaceButton which)
        {
            switch (which)
            {
                case DialogInterfaceButton.Negative:
                    break;

                case DialogInterfaceButton.Positive:
                    if (_action != null)
                        _action.DynamicInvoke();
                    break;

                case DialogInterfaceButton.Neutral:
                    break;

            }
           
        }
コード例 #4
0
 public void OnClick(IDialogInterface dialog, DialogInterfaceButton which)
 {
     dialog.Dismiss();
     _alertCallback();
 }
コード例 #5
0
 public void OnClick(IDialogInterface dialog, DialogInterfaceButton which)
 {
     dialog.Dismiss();
     _alertCallback();
 }