aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-18 23:00:42 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2023-09-18 23:00:42 +0000
commit29a97822ab03a00a7e4a135108a6190cee5c5e40 (patch)
tree749aceb4636049f233f125ee719d84daa22936b8 /app
parentee4a0167a3b27755527023faba9a9bc00f5b91ee (diff)
downloadinfinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar.gz
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar.bz2
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar.lz
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar.xz
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.tar.zst
infinity-for-reddit-29a97822ab03a00a7e4a135108a6190cee5c5e40.zip
Click the comment icon to go into post details.
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java4
1 files changed, 4 insertions, 0 deletions
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<Post, RecyclerVie
}
});
+ commentsCountButton.setOnClickListener(view -> itemView.performClick());
+
saveButton.setOnClickListener(view -> {
int position = getBindingAdapterPosition();
if (position < 0) {
@@ -4501,6 +4503,8 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
}
});
+ commentsCountButton.setOnClickListener(view -> itemView.performClick());
+
saveButton.setOnClickListener(view -> {
if (mAccessToken == null) {
Toast.makeText(mActivity, R.string.login_first, Toast.LENGTH_SHORT).show();