Skip to content

Commit

Permalink
1、修复点击事件重复两次问题
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyJingFish committed Nov 22, 2024
1 parent be6deea commit 8f81927
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,15 +135,8 @@ private void invalidateLayout(){
@Override
public void setOnClickListener(@Nullable OnClickListener l) {
attacher.setOnClickListener(v -> {
if (l != null){
l.onClick(v);
}
gsyVideoPlayer.onClick(getDrawable());
});
}

@Override
public void setOnLongClickListener(@Nullable OnLongClickListener l) {
attacher.setOnLongClickListener(l);
}
}

0 comments on commit 8f81927

Please sign in to comment.