mirror of
https://codeberg.org/Bazsalanszky/Infinity-For-Lemmy.git
synced 2024-12-29 04:17:12 +01:00
Don't cancel all ImageLoader instances
This commit is contained in:
parent
1b39925cf8
commit
86d9761f09
@ -427,7 +427,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
|
|||||||
@Override
|
@Override
|
||||||
public void onDestroyView() {
|
public void onDestroyView() {
|
||||||
super.onDestroyView();
|
super.onDestroyView();
|
||||||
BigImageViewer.imageLoader().cancelAll();
|
imageView.cancel();
|
||||||
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
|
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
|
||||||
if (subsamplingScaleImageView != null) {
|
if (subsamplingScaleImageView != null) {
|
||||||
subsamplingScaleImageView.recycle();
|
subsamplingScaleImageView.recycle();
|
||||||
|
Loading…
Reference in New Issue
Block a user