mirror of
https://github.com/k0shk0sh/FastHub.git
synced 2025-12-08 19:05:54 +00:00
assign click and long click to reactions
This commit is contained in:
parent
cbbcbdc92d
commit
a0e2b15690
@ -117,6 +117,14 @@ public class IssueDetailsViewHolder extends BaseViewHolder<TimelineModel> {
|
|||||||
thumbsUpReaction.setOnLongClickListener(this);
|
thumbsUpReaction.setOnLongClickListener(this);
|
||||||
hurrayReaction.setOnLongClickListener(this);
|
hurrayReaction.setOnLongClickListener(this);
|
||||||
heartReaction.setOnLongClickListener(this);
|
heartReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnClickListener(this);
|
||||||
|
rocket.setOnLongClickListener(this);
|
||||||
|
rocket.setOnClickListener(this);
|
||||||
|
eyeReaction.setOnLongClickListener(this);
|
||||||
|
eyeReaction.setOnClickListener(this);
|
||||||
|
eyes.setOnLongClickListener(this);
|
||||||
|
eyes.setOnClickListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static IssueDetailsViewHolder newInstance(@NonNull ViewGroup viewGroup, @Nullable BaseRecyclerAdapter adapter,
|
public static IssueDetailsViewHolder newInstance(@NonNull ViewGroup viewGroup, @Nullable BaseRecyclerAdapter adapter,
|
||||||
|
|||||||
@ -126,6 +126,14 @@ public class ReviewCommentsViewHolder extends BaseViewHolder<ReviewCommentModel>
|
|||||||
thumbsUpReaction.setOnLongClickListener(this);
|
thumbsUpReaction.setOnLongClickListener(this);
|
||||||
hurrayReaction.setOnLongClickListener(this);
|
hurrayReaction.setOnLongClickListener(this);
|
||||||
heartReaction.setOnLongClickListener(this);
|
heartReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnClickListener(this);
|
||||||
|
rocket.setOnLongClickListener(this);
|
||||||
|
rocket.setOnClickListener(this);
|
||||||
|
eyeReaction.setOnLongClickListener(this);
|
||||||
|
eyeReaction.setOnClickListener(this);
|
||||||
|
eyes.setOnLongClickListener(this);
|
||||||
|
eyes.setOnClickListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static ReviewCommentsViewHolder newInstance(ViewGroup viewGroup, BaseRecyclerAdapter adapter,
|
public static ReviewCommentsViewHolder newInstance(ViewGroup viewGroup, BaseRecyclerAdapter adapter,
|
||||||
|
|||||||
@ -137,6 +137,14 @@ public class TimelineCommentsViewHolder extends BaseViewHolder<TimelineModel> {
|
|||||||
thumbsUpReaction.setOnLongClickListener(this);
|
thumbsUpReaction.setOnLongClickListener(this);
|
||||||
hurrayReaction.setOnLongClickListener(this);
|
hurrayReaction.setOnLongClickListener(this);
|
||||||
heartReaction.setOnLongClickListener(this);
|
heartReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnLongClickListener(this);
|
||||||
|
rocketReaction.setOnClickListener(this);
|
||||||
|
rocket.setOnLongClickListener(this);
|
||||||
|
rocket.setOnClickListener(this);
|
||||||
|
eyeReaction.setOnLongClickListener(this);
|
||||||
|
eyeReaction.setOnClickListener(this);
|
||||||
|
eyes.setOnLongClickListener(this);
|
||||||
|
eyes.setOnClickListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static TimelineCommentsViewHolder newInstance(@NonNull ViewGroup viewGroup, @Nullable IssuesTimelineAdapter adapter,
|
public static TimelineCommentsViewHolder newInstance(@NonNull ViewGroup viewGroup, @Nullable IssuesTimelineAdapter adapter,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user