Re: How to handle dependencies in minor UI controls within the MVP framework.

2011-07-27 Thread Yuly
Sometimes I use sending custom events (including parameterized, when needed) to the presenter through HandlerManager.fireEvent(..). But more often I prefer to keep a reference to the presenter in the view, and my colleagues also think this approach simplifies the code. -- You received this messag

Re: How to handle dependencies in minor UI controls within the MVP framework.

2011-07-27 Thread jeffga...@googlemail.com
I have used both methods in my app, if the interactions are simple like responding to a click then handling it in the parent presenter is fine but if there are many operations possible then it is worth grouping them into a helper. On Jul 26, 5:35 pm, DrG wrote: > I aim to have a discussion on be

How to handle dependencies in minor UI controls within the MVP framework.

2011-07-26 Thread DrG
I aim to have a discussion on best practices with regards to the MVP framework and minor UI Controls. Imagine a typical MVP entity in your application where the view element is made up of many interesting UI controls. Some UI Controls contain further UI controls as the application is re-factor