The is always been a little confusing. I understand how they work but not always sure when to use one over another.
For example:
In a sample project I was playing with on MVP, controls are passed by interface to the presenter. But the presenter object is passed directly to the control.
Why would that be?
Why not just pass the control to the presenter?
Or have an interface for the presenter and pass that to the object?
Thanks,
Tom
For example:
In a sample project I was playing with on MVP, controls are passed by interface to the presenter. But the presenter object is passed directly to the control.
Why would that be?
Why not just pass the control to the presenter?
Or have an interface for the presenter and pass that to the object?
Thanks,
Tom