Multi component UI in MVP pattern
In UI space, it is very common to have multiple UI components hosted inside one main container class. Each component are implemented in MVP triad - each would have its own Model, View and Presenter classes. Even the main container class would have its own. One responsibility of the main container class is to coordinate actions among multiple UI components. However in MVP pattern, presenters are created inside its view. Is there a design pattern to better implement this kind of scenario? What is a good design to handle communication between presenters?
Please let me know your thoughts.
Erwin Magsino, Oct 20, 2013