Documentation

Mediator

Takes control over a view instance of the given type. Is removed on view’s destruction. Is instantiated and bound to the view based on the context’s mediator bindings. Use the inject attribute on fields to inject its value via the context’s injection bindings.

Public Methods

Initialize Override this method to add listeners to signals of context injections and view, and to initialize the view.
Dispose Override this method to remove listeners from signals of context injections and view.

Protected Methods

OnRemove Called when this mediator is removed and is no longer needed.
DestroyView Destroys the view.