package com.thornbirds.component.presenter;

import com.thornbirds.component.IEventController;

/**
 * This class defines Component Presenter in MVP Pattern for Android Platform
 *
 * @author YangLi yanglijd@gmail.com
 * @see EventPresenter
 */
public abstract class ComponentPresenter<VIEW> extends EventPresenter<VIEW, IEventController> {
    protected final String TAG = getTAG();

    protected abstract String getTAG();

    public ComponentPresenter(IEventController controller) {
        super(controller);
    }

    @Override
    public void startPresenter() {
    }

    @Override
    public void stopPresenter() {
    }

    @Override
    public void destroy() {
    }

}

@@ -283,17 +283,62 @@
 ter%3CVIEW
-%3E
+, CONTROLLER extends IEventController%3E%0A       
  extends
@@ -359,32 +359,26 @@
 r%3CVIEW, 
-IEventController
+CONTROLLER
 %3E %7B%0A    
@@ -488,32 +488,26 @@
 esenter(
-IEventController
+CONTROLLER
  control
@@ -700,17 +700,16 @@
 roy() %7B%0A
+
     %7D%0A
-%0A
 %7D%0A

更新ComponentPresenter，扩大范型