Hello Everybody,
I have a problem that I don't really understand and would be glad to receive some help
I'd like to register 2 mediators to my app, both beeing responsible for different views (MXML components)
within the AIR app.
In the StartupCommand's execute method I do the following
var app:MemorizeAir = note.getBody() as MemorizeAir;
// register proxies
facade.registerProxy( new DatabaseProxy() );
facade.registerProxy( new PreferenceProxy() );
facade.registerProxy( new PracticeProxy() );
// register mediators
facade.registerMediator( new PracticeMediator( app.practiceScreen ) );
facade.registerMediator( new VocabularyMediator( app.vocabularyScreen ) );
So "app.practiceScreen" is a different component than "app.vocabularyScreen", and now after
digging around I found out that only the first of these mediators will listen for notifications,
in the case above its the PracticeMediator.
Why is that please and what would be the solution to my problem?
Thanks in advance and keep up the great work!