Is there a fastclick library (or other solution) in Dart to remove the 300ms delay (ghostclick) on mobile devices?

My app is less responsive on mobile devices. It seems that many (all?) browsers put a 300ms delay to decide if the touch was a simple or double touch.

There are solutions for this, like fastclick, but I'm wondering if there is one using Dart code ?

EDIT: There is a method preventGhostClick in: ClickBuster.dart, anyone has ever tried this method? Example?

Answers


The delay is independent of any browser, JavaScript or library like Dart. It's the way Android detects a double click just by waiting after the first tap if there will be a second one.

In the lower level API of Android you can react on touch-down and touch-up events directly. You could implement this using plain java (e.g. as Android Service), but I've no idea how to call that or listen to its touch-events using Dart.


Need Your Help

How to write $something in a file with sudo tee with bash?

linux bash

This is my bash script that write a custom nginx server block aka virtualhost.

AES interoperability between .Net and iPhone?

.net iphone encryption aes

I need to encrypt a string on the iPhone and send it to a .Net web service for decryption. I am able to encrypt/decrypt on the iPhone and with .Net, but the encrypted strings from the iPhone canno...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.