|
|
@@ -21,15 +21,17 @@ import kr.co.zumo.app.lifeplus.view.IExit;
|
|
|
* @history 민효동 [2018. 9. 5.] [최초 작성]
|
|
|
* @since 2018. 9. 5.
|
|
|
*/
|
|
|
-public abstract class Presenter implements IExit {
|
|
|
+public abstract class Presenter<T extends IPresenterView> implements IExit {
|
|
|
|
|
|
+ protected T view;
|
|
|
protected ScreenChanger screenChanger;
|
|
|
|
|
|
public static final int INT_NONE = -232748271; /// performOnEvent 로 intValue 가 전달되지 않으면 맵핑되는 값
|
|
|
public static final String STRING_NONE = ""; /// performOnEvent 로 stringValue 가 전달되지 않으면 맵핑되는 값
|
|
|
|
|
|
- public Presenter(ScreenChanger screenChanger) {
|
|
|
+ public Presenter(ScreenChanger screenChanger, T view) {
|
|
|
this.screenChanger = screenChanger;
|
|
|
+ this.view = view;
|
|
|
}
|
|
|
|
|
|
/**
|