Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8804] Android: 'click' event fired after 'swipe'

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-04-27T17:40:09.000+0000
Affected Version/sRelease 2.1.0
Fix Version/sRelease 2.1.0
ComponentsAndroid
Labelscore, module_gesture, qe-testadded
ReporterTony Lukasavage
AssigneeNeeraj Gupta
Created2012-04-19T16:58:36.000+0000
Updated2012-07-11T13:16:33.000+0000

Description

Problem

The click 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();

Comments

  1. Shyam Bhadauria 2012-06-04

    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

JSON Source