tag:robotlegs.tenderapp.com,2009-10-18:/discussions/questions/2589-how-to-inject-view-interface-in-mediatorRobotlegs: Discussion 2018-10-18T16:35:51Ztag:robotlegs.tenderapp.com,2009-10-18:Comment/287384832013-09-11T13:12:09Z2013-09-11T13:12:09ZHow to inject view interface in mediator<div><p>Hello,</p>
<p>For robotlegs 1 there is the ViewInterfaceMediatorMap utility
that you could use for mapping views as interfaces:<br>
<a href=
"https://github.com/piercer/robotlegs-extensions-ViewInterfaceMediatorMap">
https://github.com/piercer/robotlegs-extensions-ViewInterfaceMediat...</a></p>
<p>But, I'd (strongly) recommend using robotlegs 2. All you have to
do is this:</p>
<p>mediatorMap.map(ISomeView).toMediator(SomeMediator);</p>
<p>hth</p>
<p>Ondina</p></div>Ondina D.F.tag:robotlegs.tenderapp.com,2009-10-18:Comment/287384832013-09-11T17:19:57Z2013-09-11T17:19:57ZHow to inject view interface in mediator<div><p>Ok thanks a lot for your advise, I will migrate to RL2.</p></div>manitas0302