or Create a profile
01 Jun, 2012 12:43 PM
I am seeing my viewMediator is instantiating after view is added
( with addChild) . I expected viewMediator to instantiate after
view gets instantiated ( no matter it's added or not ). Should i
recheck my code ?
2 Posted by Stray on 01 Jun, 2012 12:52 PM
The automatic creation of mediators is triggered by views being added to stage, not by their being created (think about it - how could the system know that you have new Thing()ed?
Your code is correct, you're just a bit unclear about what the mediatorMap is intended to do.
vishwas.gagrani closed this discussion
on 01 Jun, 2012 01:30 PM.
vishwas.gagrani re-opened this discussion
on 01 Jun, 2012 01:30 PM
Comments are currently closed for this discussion.
You can start a new one.
2 people watching.
No more actions from Robotlegs or the discussion starter are required.
This discussion is private.
Only you and Robotlegs support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
Powered by Tender™.