I have the Dialog fragment with dialog, that have such animation:
dialog.window.setWindowAnimations(R.style.RemoveWishlistAnimation)
In this style exit animation
has long duration, so if user pressed HOME button, some part of animation will be shown on home screen.
I must use this long animation, but is it exists any way to interrupt this animation in some kind of override fun onPause() {}
function?