diff --git a/app_pojavlauncher/src/main/java/com/kdt/SideDialogView.java b/app_pojavlauncher/src/main/java/com/kdt/SideDialogView.java index 60784ad4d7..4150db2b6b 100644 --- a/app_pojavlauncher/src/main/java/com/kdt/SideDialogView.java +++ b/app_pojavlauncher/src/main/java/com/kdt/SideDialogView.java @@ -132,6 +132,9 @@ private void deflateLayout() { return; } + mSideDialogAnimator.removeAllUpdateListeners(); + mSideDialogAnimator.removeAllListeners(); + mParent.removeView(mDialogLayout); mIsInstantiated = false; @@ -212,7 +215,6 @@ public final void disappear(boolean destroy) { mSideDialogAnimator.addListener(new AnimatorListenerAdapter() { @Override public void onAnimationEnd(Animator animation) { - mSideDialogAnimator.removeListener(this); deflateLayout(); } });