Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HighlightView get parent's click event #26

Open
SoftwareAdvise opened this issue Sep 22, 2022 · 0 comments
Open

HighlightView get parent's click event #26

SoftwareAdvise opened this issue Sep 22, 2022 · 0 comments

Comments

@SoftwareAdvise
Copy link

If I put this progressView in a generic layout (relative or linear doesn't matter) the click listener on parent won't be raised.
I lost a lot of time to understand it, so i want to help someone in same situation.
I had to set same clickListener both to parent and setOnProgressClickListener;

`
parentView.setOnClickListener(new View.OnClickListener() {
@OverRide
public void onClick(final View v)
{
execEvent();
}
});

progressViewLibrary.setOnProgressClickListener(new OnProgressClickListener() {
@OverRide
public void onClickProgress(boolean highlighting)
{
execEvent();
}
});
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant