aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-02-03 16:20:53 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-02-03 16:20:53 +0000
commitd0bf1aa19cd07f062809eccc3b8d452f539e96f5 (patch)
tree593bb1d9c748ca204628e197573155b4033b261d /app
parentf92830088c222a8ef975a43cdf0497c8049163f2 (diff)
downloadinfinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar.gz
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar.bz2
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar.lz
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar.xz
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.tar.zst
infinity-for-reddit-d0bf1aa19cd07f062809eccc3b8d452f539e96f5.zip
Fix progress bar reappearing in PostGalleryTypeImageRecyclerViewAdapter?
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostGalleryTypeImageRecyclerViewAdapter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostGalleryTypeImageRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostGalleryTypeImageRecyclerViewAdapter.java
index 16447653..02ff29ce 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostGalleryTypeImageRecyclerViewAdapter.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostGalleryTypeImageRecyclerViewAdapter.java
@@ -115,6 +115,8 @@ public class PostGalleryTypeImageRecyclerViewAdapter extends RecyclerView.Adapte
holder.binding.captionConstraintLayoutItemGalleryImageInPostFeed.setVisibility(View.GONE);
holder.binding.captionTextViewItemGalleryImageInPostFeed.setText("");
holder.binding.captionUrlTextViewItemGalleryImageInPostFeed.setText("");
+ holder.binding.progressBarItemGalleryImageInPostFeed.setVisibility(View.GONE);
+ glide.clear(holder.binding.imageViewItemGalleryImageInPostFeed);
}
private void loadImage(ImageViewHolder holder) {