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

Listen the click #8

Open
kasokuta opened this issue Mar 28, 2016 · 4 comments
Open

Listen the click #8

kasokuta opened this issue Mar 28, 2016 · 4 comments

Comments

@kasokuta
Copy link

this lib is excellent .

The swipe Listeners are working good but I want to listen a click and the swipes too

how can I do that?

@kasokuta kasokuta changed the title Listen Only the click Listen the click Mar 28, 2016
@championswimmer
Copy link
Owner

You can just add an onClickListener to your View

@kasokuta
Copy link
Author

but I want to listen the swipe, the click and then do different things. I did that but it only goes to ontuch event so only swipe works

@ankur2389
Copy link

Hey !, I want to sense the single Tap and Long Tap on my view, can you please suggest the possible way,
some how, I tries to manage, single tap with the time count, like:
public boolean isSingleTap() {
if (singleTapDuration <= 150) {
return true;
} else {
return false;
}
}

but this is not a fair work I think, it get called evey time even if other gestures are performed.

@samarth261
Copy link

try using the setOnLongClikListener

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

4 participants