Relative Content

Tag Archive for c#observablereactive-programmingsystem.reactive

Detecting Click and DoubleClick using Observables

I have a stream of click events and I want to determine from that stream whether a single click or a double clicked was performed by the user. Currently I’m attempting to do this by buffering the values over a specified doubleClickTime (e.g. 300ms) and taking the count of those values.

Detecting Click and DoubleClick using Observables

I have a stream of click events and I want to determine from that stream whether a single click or a double clicked was performed by the user. Currently I’m attempting to do this by buffering the values over a specified doubleClickTime (e.g. 300ms) and taking the count of those values.