Project: titanium
Issue TIMOB-4063: Android: TabGroup: most events not do not fire (only focus works)
Environment: * TiStudio Preview * Android 2.3.3 * Titanium SDK (all versions) The following code demonstrates that only the focus event is fired for tabGroups: {code} Titanium.UI.setBackgroundColor('#000'); var tabGroup = Titanium.UI.createTabGroup(); var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var tab1 = Titanium.UI.createTab({ title:'Tab 1', window:win1 }); var label1 = Titanium.UI.createLabel({	color:'#999',	text:'I am Window 1' }); win1.add(label1); var win2 = Titanium.UI.createWindow({ title:'Tab 2', backgroundColor:'#fff' }); var tab2 = Titanium.UI.createTab({ title:'Tab 2', window:win2 }); var label2 = Titanium.UI.createLabel({	color:'#999',	text:'I am Window 2' }); win2.add(label2); tabGroup.addTab(tab1); tabGroup.addTab(tab2); tabGroup.open(); label1.addEventListener("click", function(){ Ti.API.info("label1 click event fired!"); }); tabGroup.addEventListener("click", function(){ Ti.API.info("tabGroup click event fired!"); }); tabGroup.addEventListener("dblclick", function(){ Ti.API.info("tabGroup dblclick event fired!"); }); tabGroup.addEventListener("doubletap", function(){ Ti.API.info("tabGroup doubletap event fired!"); }); tabGroup.addEventListener("focus", function(){ Ti.API.info("tabGroup focus event fired!"); }); tabGroup.addEventListener("swipe", function(){ Ti.API.info("tabGroup swipe event fired!"); }); {code}
Story points: 2