From 29a97822ab03a00a7e4a135108a6190cee5c5e40 Mon Sep 17 00:00:00 2001 From: Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> Date: Mon, 18 Sep 2023 19:00:42 -0400 Subject: Click the comment icon to go into post details. --- .../infinityforreddit/adapters/PostRecyclerViewAdapter.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/src/main/java') diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java index d2ccdb51..06d5bf82 100644 --- a/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java +++ b/app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java @@ -3153,6 +3153,8 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter itemView.performClick()); + saveButton.setOnClickListener(view -> { int position = getBindingAdapterPosition(); if (position < 0) { @@ -4501,6 +4503,8 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter itemView.performClick()); + saveButton.setOnClickListener(view -> { if (mAccessToken == null) { Toast.makeText(mActivity, R.string.login_first, Toast.LENGTH_SHORT).show(); -- cgit v1.2.3