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

How to override double tap event? #413

Open
uragiristereo opened this issue Dec 10, 2021 · 2 comments
Open

How to override double tap event? #413

uragiristereo opened this issue Dec 10, 2021 · 2 comments

Comments

@uragiristereo
Copy link

I want to change the on double tap behavior i tried to use setOnDoubleTapListener but it's still zooming.

touchImageView.setOnDoubleTapListener(object : OnDoubleTapListener {
    override fun onSingleTapConfirmed(e: MotionEvent): Boolean {
        return true
    }

    override fun onDoubleTap(e: MotionEvent): Boolean {
        Timber.i("double tapped")
        return false
    }

    override fun onDoubleTapEvent(e: MotionEvent): Boolean {
        return false
    }
})
@stale
Copy link

stale bot commented Jan 8, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jan 8, 2023
@jofuelo
Copy link

jofuelo commented Apr 25, 2023

It would be nice to be able to override it, or at least unable the default behaviour

@stale stale bot removed the stale label Apr 25, 2023
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

2 participants