From 7c38857ee875462d28152417b4e8215182598886 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 23 Oct 2020 19:53:07 +0800 Subject: Combine some ViewHolders in PostRecyclerViewAdapter to prevent lag. --- .../Adapter/PostRecyclerViewAdapter.java | 149 ++++++++++++--------- 1 file changed, 86 insertions(+), 63 deletions(-) (limited to 'app/src/main/java/ml') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java index 53771d97..d4119aa2 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/Adapter/PostRecyclerViewAdapter.java @@ -355,15 +355,11 @@ public class PostRecyclerViewAdapter extends PagedListAdapter