@Override
            public boolean onTouch(View v, MotionEvent event) {
                for (BaseDialog dialog : BaseDialog.getRunningDialogList()) {
                    if (dialog.getOwnActivity() == activity && dialog != baseDialog && dialog.getDialogImplMode() == baseDialog.getDialogImplMode()) {
                        if (!(dialog instanceof NoTouchInterface) && dialog.getDialogView() != null) {
                            Log.e(">>>", "onTouch: dialog=" + dialog + "  baseDialog="+baseDialog );
                            dialog.getDialogView().dispatchTouchEvent(event);
                            return true;
                        }
                    }
                }
                if (baseDialog instanceof NoTouchInterface) {
                    return activity.dispatchTouchEvent(event);
                } else {
                    return false;
                }
            }
@author: Kongzue
@github: https://github.com/kongzue/
@homepage: http://kongzue.com/
@mail: myzcxhh@live.cn
@createTime: 2021/7/28 15:45
DialogX/src/main/java/com/kongzue/dialogx/impl/DialogFragmentImpl.java