Fix progress bar reappearing in PostGalleryTypeImageRecyclerViewAdapter?

This commit is contained in:
Docile-Alligator 2023-02-03 11:20:53 -05:00
parent f92830088c
commit d0bf1aa19c

View File

@ -115,6 +115,8 @@ public class PostGalleryTypeImageRecyclerViewAdapter extends RecyclerView.Adapte
holder.binding.captionConstraintLayoutItemGalleryImageInPostFeed.setVisibility(View.GONE); holder.binding.captionConstraintLayoutItemGalleryImageInPostFeed.setVisibility(View.GONE);
holder.binding.captionTextViewItemGalleryImageInPostFeed.setText(""); holder.binding.captionTextViewItemGalleryImageInPostFeed.setText("");
holder.binding.captionUrlTextViewItemGalleryImageInPostFeed.setText(""); holder.binding.captionUrlTextViewItemGalleryImageInPostFeed.setText("");
holder.binding.progressBarItemGalleryImageInPostFeed.setVisibility(View.GONE);
glide.clear(holder.binding.imageViewItemGalleryImageInPostFeed);
} }
private void loadImage(ImageViewHolder holder) { private void loadImage(ImageViewHolder holder) {