In ZoomHelper.kt the zoomableView reference is cleared in onDismissDialog, however the zoomableViewParent reference is never cleared, so it still exists after the Fragment is destroyed. This field should be set to null after the placeholder is swapped out with the original view.
In
ZoomHelper.kt
thezoomableView
reference is cleared inonDismissDialog
, however thezoomableViewParent
reference is never cleared, so it still exists after the Fragment is destroyed. This field should be set to null after the placeholder is swapped out with the original view.