From 20e4798d3412063f916ab988cc06e3b77007b1a2 Mon Sep 17 00:00:00 2001 From: Docile-Alligator Date: Fri, 11 Mar 2022 12:15:07 +0800 Subject: Fix image loading issue. --- .../adapters/PostDetailRecyclerViewAdapter.java | 33 ++------------- .../adapters/PostRecyclerViewAdapter.java | 48 +++------------------- 2 files changed, 10 insertions(+), 71 deletions(-) diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java index 1d72ec32..983c887a 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostDetailRecyclerViewAdapter.java @@ -19,7 +19,6 @@ import android.text.util.Linkify; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.view.ViewTreeObserver; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.RelativeLayout; @@ -718,13 +717,7 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter