mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
tweak the glide view clearing a bit
This commit is contained in:
parent
36dec5e004
commit
fa0ce89d81
@ -227,7 +227,6 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
super.onDestroyView()
|
super.onDestroyView()
|
||||||
if (activity?.isDestroyed == false) {
|
if (activity?.isDestroyed == false) {
|
||||||
mView.subsampling_view.recycle()
|
mView.subsampling_view.recycle()
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (context != null) {
|
if (context != null) {
|
||||||
@ -235,6 +234,7 @@ class PhotoFragment : ViewPagerFragment() {
|
|||||||
}
|
}
|
||||||
} catch (ignored: Exception) {
|
} catch (ignored: Exception) {
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
mLoadZoomableViewHandler.removeCallbacksAndMessages(null)
|
mLoadZoomableViewHandler.removeCallbacksAndMessages(null)
|
||||||
if (mCurrentRotationDegrees != 0) {
|
if (mCurrentRotationDegrees != 0) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user