aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorscria1000 <91804886+scria1000@users.noreply.github.com>2021-11-26 11:49:12 +0000
committerscria1000 <91804886+scria1000@users.noreply.github.com>2021-11-26 11:49:12 +0000
commit86d9761f09094920f47183bf2e524666513cc281 (patch)
treec8de3d8d33b0b4d596327b650b04fb76cc02c9de
parent1b39925cf8f050597e8c98266b724d2cb0334223 (diff)
downloadinfinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar.gz
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar.bz2
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar.lz
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar.xz
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.tar.zst
infinity-for-reddit-86d9761f09094920f47183bf2e524666513cc281.zip
Don't cancel all ImageLoader instances
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
index 05f0ab7a..494d6b44 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/fragments/ViewRedditGalleryImageOrGifFragment.java
@@ -427,7 +427,7 @@ public class ViewRedditGalleryImageOrGifFragment extends Fragment {
@Override
public void onDestroyView() {
super.onDestroyView();
- BigImageViewer.imageLoader().cancelAll();
+ imageView.cancel();
SubsamplingScaleImageView subsamplingScaleImageView = imageView.getSSIV();
if (subsamplingScaleImageView != null) {
subsamplingScaleImageView.recycle();