package com.wasu.cs.mvp.presenter; import com.wasu.cs.mvp.IView.MvpView; /** * Description:Presenter *

* Base class that implements the Presenter interface and provides a base implementation for * attachView() and detachView(). It also handles keeping a reference to the mvpView that * can be accessed from the children classes by calling getMvpView(). *

* 基本presenter接口 */ public interface Presenter { void attachView(V mvpView); void detachView(); }