From b3eb20862a1524b1ceedad041ac92446b4ffeb30 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Thu, 19 Aug 2021 21:11:44 +0800 Subject: Try fixing IllegalStateException at androidx.viewpager2.widget.ScrollEventAdapter.updateScrollEventValues in ViewUserDetailActivity. --- .../adapters/CommentsListingRecyclerViewAdapter.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'app/src/main') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java index f3a9c582..15dce401 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java @@ -16,6 +16,7 @@ import android.view.View; import android.view.ViewGroup; import android.widget.Button; import android.widget.ImageView; +import android.widget.LinearLayout; import android.widget.ProgressBar; import android.widget.TextView; import android.widget.Toast; @@ -400,6 +401,8 @@ public class CommentsListingRecyclerViewAdapter extends PagedListAdapter