I'm working on my first small mobile application and I have a question about sending events from one view to another.
In the first created a custom event with some custom data and I want to send this event to the next view when a button is klicked. In the onClick method I'm calling:
And I added this:
And in the creationComplete-method of the second view I added an eventlistener:
But the extraAction method was never called. I also added the event listener in the application and there it works - how can I add a working eventlistener in the second view?
Retrieving data ...