I am having issues with custom events bubbling on a view in Android. Here is an example.
Button.js
function CreateButton(){ var view = Ti.UI.createView({ width: 100, height: 50, bubbleParent: true, top: 0 }); setTimeout(function(){view.fireEvent("hey");},1000); return view; } module.exports = CreateButton;In another file I instantiate the button;
var Button = require("Button"); var newButton = new Button(); newButton.addEventListener("hey", function(e){Ti.API.info("Ciao");});I can never receive the event. It works in iOS but not on Android.
Is there a difference in the propagation? I can't seem to find anything in the docs.
Thanks