My scenario is the following:
I am extending Mediator with PageMediator.
I am implementing PageMediator with IPageMediator.
IPageMediator extends IMediator.
I dont understand 2 things:
1. If I add a public method to IPageMediator which is not implemented in PageMediator, the compiler warns me, however, if I include a public method to PageMediator which is not declared in IPageMediator, there are no warnings at all.
2. All concrete classes that extend PageMediator and that implement IPageMediator do not seem to need to contain any of the methods that are declared on IPageMediator and I can add as many public methods as I want even if they arent declared in IPageMediator.
Are these questions coming from a lack of understanding of interfaces and inheritance or is PureMVC structured in a way that would cause this behavior?
Thank you!