Views: 4.1K
Replies: 0
Archived
|
Multi component UI in MVP patternHi,
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. Thanks, Erwin Erwin Magsino, Oct 20, 2013
|