I am using an MVP architecture (or at least an approximation of one) and have a hierarchy of presenters, with similarly nested views. I'll stick to the first 2 levels for simplicity:
AppPresenter/AppView at the top level. DocumentListPresenter/DocumentListView and TranslationPresenter/TranslationView at the second level.
The two second level views are added to a panel on the top level view as widgets, but at the moment this is done by injecting the two second level presenters into the top level presenter, then having the top level presenter pass their views to its view through setter methods.
This seems a bit of a roundabout way of doing things. Is it possible with Gin to inject the second level views into the top level view without the presenters being involved at all?