//protected override Dialog SetNativeDialog()
        //{
        //    var progressDialog = new ProgressDialog(Context);
        //    SetNativeLoadDialogMsgText(progressDialog,_dialogMsg);
        //    return progressDialog;
        //}

        //protected override void SetDialogWindowBGDrawable()
        //{
        //    if (IsNative)
        //    {
        //        _dialogConfig.BackgroundColor = Xamarin.Forms.Color.White;
        //    }
        //    base.SetDialogWindowBGDrawable();
        //}

        protected virtual void SetNativeLoadDialogMsgText(ProgressDialog progressDialog, DialogMsg dialogMsg)
        {
            NativeDialogBtnClickListener clickListener = new NativeDialogBtnClickListener(dialogMsg);

            if (!string.IsNullOrEmpty(_dialogMsg.Title))
            {
                progressDialog.SetTitle(_dialogMsg.Title);
            }
            if (!string.IsNullOrEmpty(_dialogMsg.ContentMsg))
            {
                progressDialog.SetMessage(_dialogMsg.ContentMsg);
            }
            if (!string.IsNullOrEmpty(_dialogMsg.PositiveButton))
            {
                progressDialog.SetButton(text: _dialogMsg.PositiveButton, listener: clickListener);
            }
            if (!string.IsNullOrEmpty(_dialogMsg.NegativeButton))
            {
                progressDialog.SetButton2(text: _dialogMsg.NegativeButton, listener: clickListener);
            }
            if (!string.IsNullOrEmpty(_dialogMsg.NeutralButton))
            {
                progressDialog.SetButton3(text: _dialogMsg.NeutralButton, listener: clickListener);
            }
        }
        protected virtual void SetNativeDialogMsgText(DialogMsg dialogMsg,
                                                      Android.Support.V7.App.AlertDialog.Builder builder)
        {
            NativeDialogBtnClickListener clickListener = new NativeDialogBtnClickListener(dialogMsg);

            if (!string.IsNullOrEmpty(dialogMsg.Title))
            {
                builder.SetTitle(dialogMsg.Title);
            }
            if (!string.IsNullOrEmpty(dialogMsg.Title))
            {
                builder.SetMessage(dialogMsg.ContentMsg);
            }
            if (!string.IsNullOrEmpty(dialogMsg.PositiveButton))
            {
                builder.SetPositiveButton(text: dialogMsg.PositiveButton, listener: clickListener);
            }
            if (!string.IsNullOrEmpty(dialogMsg.NegativeButton))
            {
                builder.SetNegativeButton(text: dialogMsg.NegativeButton, listener: clickListener);
            }
            if (!string.IsNullOrEmpty(dialogMsg.NeutralButton))
            {
                builder.SetNeutralButton(text: dialogMsg.NeutralButton, listener: clickListener);
            }
        }