mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit
synced 2024-07-05 17:30:02 +00:00
Click the comment icon to go into post details.
This commit is contained in:
parent
ee4a0167a3
commit
29a97822ab
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user