daimajia / daimajia/AndroidViewHover
Doesn't work properly on button OnClickListener
Open
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 712
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I'm trying to add a view hover when I click on a button inside a view, so when I click on the button the view hover doesn't appear, but when I click under the button it works. Here's my code:
viewHolder.commentImageButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
v = LayoutInflater.from(viewHolder.context).inflate(R.layout.hover_home_adapter, null);
viewHolder.hoverLayout.setHoverView(v);
}
});
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.