Re: Aw: Re: MVP best practices, how to expose a view to a presenter?

2011-07-25 Thread Thomas Broyer
You'd have to either juggle with binding annotations (and possibly private modules), or have the same dependencies in your provider as in your provided class (to be able to 'new' the class yourself in the provider) and keep them in sync. IMO, unless you're in a hurry, if this is absolutely neces

Aw: Re: MVP best practices, how to expose a view to a presenter?

2011-07-22 Thread Jens
Couldn't you just implement a provider for a given view in the same way when using GIN? In XxxViewProvider.get() you would do the same as in your getXxxView() method. Doesn't seem that hard but honestly I've never tried it and maybe I'm missing something. -- J. -- You received this message b