@Override
                                        public void onAnimationUpdate(ValueAnimator animation) {
                                            if (getDialogImpl() == null || !isShow) {
                                                animation.cancel();
                                                return;
                                            }
                                            View bodyView = getDialogImpl().boxBody;
                                            if (bodyView != null && bodyView.isAttachedToWindow()) {
                                                bodyView.setY((Float) animation.getAnimatedValue());
                                            }
                                        }
@author: Kongzue
@github: https://github.com/kongzue/
@homepage: http://kongzue.com/
@mail: myzcxhh@live.cn
@createTime: 2020/10/20 11:59
DialogX/src/main/java/com/kongzue/dialogx/dialogs/PopNotification.java