Quantcast
Channel: Refactoring my simple model-view-presenter architecture - Code Review Stack Exchange
Browsing latest articles
Browse All 3 View Live

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 Article



Answer 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 Article

Refactoring 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
Browsing latest articles
Browse All 3 View Live




Latest Images