We should definitely consider how we're going to bring gesture/touch events into the existing event framework. I went ahead and wrote this the simple way because it will only ever need to work on mobile webkit browsers, which all safely support addEventListener() and don't leak memory.
Le 14 mai 2010 15:07, <cromwell...@gmail.com> a écrit : > > Joel, I think post I/O perhaps we should add touch events support to > dispatchEvent() rather than call addEventListener directly, so you'd be > able to invoke sinkEvents(Event.TOUCH_EVENTS);. I did this for my apps > and have working code. > > > > http://gwt-code-reviews.appspot.com/530801/diff/1/9 > File /bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java > (right): > > http://gwt-code-reviews.appspot.com/530801/diff/1/9#newcode57 > /bikeshed/src/com/google/gwt/mobile/client/TouchHandler.java:57: }, > capture); > Memory leak? > > > http://gwt-code-reviews.appspot.com/530801/show > -- http://groups.google.com/group/Google-Web-Toolkit-Contributors