package com.wasu.cs.mvp.presenter;

import com.wasu.cs.mvp.IView.MvpView;

/**
 * Description：Presenter
 * <p>
 * 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().
 * <p>
 * 基本presenter接口
 */
public interface Presenter<V extends MvpView> {

    void attachView(V mvpView);

    void detachView();
}
