diff options
author | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-18 23:00:42 +0000 |
---|---|---|
committer | Docile-Alligator <25734209+Docile-Alligator@users.noreply.github.com> | 2023-09-18 23:00:42 +0000 |
commit | 29a97822ab03a00a7e4a135108a6190cee5c5e40 (patch) | |
tree | 749aceb4636049f233f125ee719d84daa22936b8 /app/src | |
parent | ee4a0167a3b27755527023faba9a9bc00f5b91ee (diff) | |
download | infinity-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/src')
-rw-r--r-- | app/src/main/java/ml/docilealligator/infinityforreddit/adapters/PostRecyclerViewAdapter.java | 4 |
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(); |