tag:robotlegs.tenderapp.com,2009-10-18:/discussions/problems/590-mediator-is-created-after-view-is-added-with-addchild-is-this-normalRobotlegs: Discussion 2018-10-18T16:35:40Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/163585152012-06-01T12:43:05Z2012-06-01T12:43:05ZMediator is created after view is added with addChild(). Is this normal ? <div><p>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 ?</p></div>vishwas.gagranitag:robotlegs.tenderapp.com,2009-10-18:Comment/163585152012-06-01T12:52:37Z2012-06-01T12:52:37ZMediator is created after view is added with addChild(). Is this normal ? <div><p>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?</p>
<p>Your code is correct, you're just a bit unclear about what the
mediatorMap is intended to do.</p>
<p>Stray</p></div>Stray