From d0bf1aa19cd07f062809eccc3b8d452f539e96f5 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Fri, 3 Feb 2023 11:20:53 -0500 Subject: Fix progress bar reappearing in PostGalleryTypeImageRecyclerViewAdapter? --- .../adapters/PostGalleryTypeImageRecyclerViewAdapter.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/src/main/java') 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) { -- cgit v1.2.3