mirror of
https://github.com/Docile-Alligator/Infinity-For-Reddit
synced 2024-07-09 04:16:16 +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 -> {
|
saveButton.setOnClickListener(view -> {
|
||||||
int position = getBindingAdapterPosition();
|
int position = getBindingAdapterPosition();
|
||||||
if (position < 0) {
|
if (position < 0) {
|
||||||
|
@ -4501,6 +4503,8 @@ public class PostRecyclerViewAdapter extends PagingDataAdapter<Post, RecyclerVie
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
commentsCountButton.setOnClickListener(view -> itemView.performClick());
|
||||||
|
|
||||||
saveButton.setOnClickListener(view -> {
|
saveButton.setOnClickListener(view -> {
|
||||||
if (mAccessToken == null) {
|
if (mAccessToken == null) {
|
||||||
Toast.makeText(mActivity, R.string.login_first, Toast.LENGTH_SHORT).show();
|
Toast.makeText(mActivity, R.string.login_first, Toast.LENGTH_SHORT).show();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user