Hello,
I would like to fire an event from my control and listen to that in another control.
I know this can be done with a publish subscribe mechanish using busevent
var bus = sap.ui.getCore().getEventBus();
bus.publish("MY_EVENT");
I would however not want to do it this ways as I think its very lose in nature.
I would like to fire an event from control A and then be able to listen to it in control B on the instance of A say oA.
Whats the best way to fire an event?
Please help!
Thanks
Amjad