[GWT] StackLayoutPanel and MVP
- by Stine
Hello!
Think there might be something about this MVP approach I have completely misunderstood.
Currently I am struggling to apply the MVP pattern to the part of my application consisting of a StackLayoutPanel (accordion). To me it seems natural to have a presenter and a view per stack... but how do I allow the different presenters to react when the user switch the state of the stack panel?
If someone could sketch an application of the MVP pattern in the case of an accordion application I would be really, really grateful! This is really getting on my nerves! ;D
Thanks a lot from Stine :)