Skip to content

Not working onClickListener #8

@hope4T

Description

@hope4T

I tried to detect onClick event on imageView, but it is not working.
How can I fix this issue?

Here is my code.

ImageMatrixTouchHandler imageMatrixTouchHandler = new ImageMatrixTouchHandler(imageView.getContext());
imageView.setOnTouchListener(imageMatrixTouchHandler);

    imageView.setOnClickListener(new View.OnClickListener() {

        @Override
        public void onClick(View view) {
            //do something
        }
    });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions