[TIMOB-8804] Android: 'click' event fired after 'swipe'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-04-27T17:40:09.000+0000 |
Affected Version/s | Release 2.1.0 |
Fix Version/s | Release 2.1.0 |
Components | Android |
Labels | core, module_gesture, qe-testadded |
Reporter | Tony Lukasavage |
Assignee | Neeraj Gupta |
Created | 2012-04-19T16:58:36.000+0000 |
Updated | 2012-07-11T13:16:33.000+0000 |
Description
Problem
Theclick
event is being fired after every swipe
event
Test Case
var win = Ti.UI.createWindow({
backgroundColor: '#fff',
fullscreen: false,
exitOnClose: true
});
var events = [
'click',
'swipe'
];
var addListener = function(eventName) {
win.addEventListener (eventName, function(e) {
Ti.API.info(eventName);
});
}
for (var i = 0; i < events.length; i++) {
addListener(events[i]);
}
win.open();
Adding environment info - Tested with Titanium SDK: 2.1.0.v20120602010244 Tested with Titanium Studio: 2.1.0.201206010843 Emulator - Android 2.2 and 4.0.2 galaxy nexus Android Runtime - V8