Can I Mediate my Root Application?


mediatorMap.mapView( MyAppView, MyAppViewMediator );

The contextView is now fully mediated and can send and receive framework events.

IMPORTANT: It is important to understand that this behavior can have unexpected consequences. Because the contextView is generally already on stage at the time of mapping, Robotlegs creates a mediator for the contextView immediately as soon as you map it - this will trigger injection, which in turn might cause a chain reaction during configuration of your app. To avoid unexpected behavior it is recommended that you map your context mediator last.