Closed Matan closed 11 years ago
Yeh, the design is pretty horrid in that regard.. However, both those classes are private implementation details and should not be modified anyway. They exist purely to divide responsibilities and are not officially supported (see: http://knowledge.robotlegs.org/discussions/robotlegs-2/3677-get-the-mediator-instance-for-a-given-view-instance-or-class).
I'll open a new issue for "Retrieving Mediators for a given View"
Hi,
The MediatorFactory has a constructor argument MediatorManager which defaults to a new instance. The problem is that the manager isn't swappable as the MediatorManager has a constructor requirement of MediatorFactory. Therefore, you can't create a custom Manager as as both the Factory and Manager depend on each other as a constructor argument.
Hope that makes sense! :) Difficult wording that!
Thanks, Matan