The key benefit of MVP is that I can test the View and Presenter classes independently. This requires mocking of components and their (lifecycle)-methods.
Unfortunately, you made a lot of methods (openView for example) final. Though I understand that you want to prevent unexperienced users from overwriting framework classes, this blocks all my mocking attempts on view classes ...
The key benefit of MVP is that I can test the View and Presenter classes independently. This requires mocking of components and their (lifecycle)-methods.
Unfortunately, you made a lot of methods (openView for example) final. Though I understand that you want to prevent unexperienced users from overwriting framework classes, this blocks all my mocking attempts on view classes ...