aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2021-08-19 13:11:44 +0000
committerAlex Ning <chineseperson5@gmail.com>2021-08-19 13:11:44 +0000
commitb3eb20862a1524b1ceedad041ac92446b4ffeb30 (patch)
tree10c0b67582b54e1b2c6cea540cafd32c71eaff9b
parentcc1e4794c9f383d0fb49acb5502bdb2ab9a9f83a (diff)
downloadinfinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar.gz
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar.bz2
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar.lz
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar.xz
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.tar.zst
infinity-for-reddit-b3eb20862a1524b1ceedad041ac92446b4ffeb30.zip
Try fixing IllegalStateException at androidx.viewpager2.widget.ScrollEventAdapter.updateScrollEventValues in ViewUserDetailActivity.
Diffstat (limited to '')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/CommentsListingRecyclerViewAdapter.java5
1 files changed, 5 insertions, 0 deletions
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<Comment
public class CommentViewHolder extends RecyclerView.ViewHolder {
@BindView(R.id.vertical_block_indentation_item_comment)
CommentIndentationView commentIndentationView;
+ @BindView(R.id.linear_layout_item_comment)
+ LinearLayout linearLayout;
@BindView(R.id.author_text_view_item_post_comment)
TextView authorTextView;
@BindView(R.id.author_flair_text_view_item_post_comment)
@@ -455,6 +458,8 @@ public class CommentsListingRecyclerViewAdapter extends PagedListAdapter<Comment
constraintSet.applyTo(bottomConstraintLayout);
}
+ linearLayout.getLayoutTransition().setAnimateParentHierarchy(false);
+
commentIndentationView.setVisibility(View.GONE);
if (mShowCommentDivider) {