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 add gesture events to SortableTableView #44

Closed
santoshgupta901 opened this issue Jul 18, 2016 · 2 comments
Closed

How to add gesture events to SortableTableView #44

santoshgupta901 opened this issue Jul 18, 2016 · 2 comments

Comments

@santoshgupta901
Copy link

santoshgupta901 commented Jul 18, 2016

I want to add gesture event like swipe, double table ,longPress events to SorttableTableView how could I implement this feature. I try to add onTouchEvent to this view but does not working.

@ISchwarz23
Copy link
Owner

Hi @santoshgupta901,

the long press could be a new cool feature, I think this will be part of the next release. But the double tab is something which is not "android like". I'm not convinced about it because of the following reasons:

  • Long Press is a recommeded interaction in the UI Guidelines, double touch is not.
  • It's what users expect; a user might not find a double touch action as they won't go looking for it
  • Implementing Double Touch will affect handling of single touches, because you'll have to wait to see if every single touch turns into a double touch before you can process it.

If you want to listen for swipe events you can do this using this approach.

Best regards,
Ingo

@ISchwarz23
Copy link
Owner

Hi @santoshgupta901,

I am pleased to tell you, that the "Data Long Listening" is part of the tableview version 2.2.0 which was just released some minutes ago.

Best regards,
Ingo

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

No branches or pull requests

2 participants