↧
Answer by Benjamin for Refactoring my simple model-view-presenter architecture
After reviewing this code a few times I've come to the conclusion that there is no way to express what I am trying to say in Java I.E the View class must implement an interface of type V as in the...
View ArticleAnswer by Vojta for Refactoring my simple model-view-presenter architecture
I tried it in an IDE and have some addition to the last comment. I agree that you should try Presenter<V extends View>plus I would add that you need to switch the signature to public abstract...
View ArticleRefactoring my simple model-view-presenter architecture
My application uses a simple Model-View-Presenter architecture and uses the following classes and interface:Presenter:public abstract class Presenter<V> { private V view; public final void...
View Article