package com.dl7.mvp.module.base;
import com.trello.rxlifecycle.LifecycleTransformer;
/**
* Created by long on 2016/8/23.
* 基础 BaseView 接口
*/
public interface IBaseView {
/**
* 显示加载动画
*/
void showLoading();
/**
* 隐藏加载
*/
void hideLoading();
/**
* 显示网络错误,modify 对网络异常在 BaseActivity 和 BaseFragment 统一处理
*/
void showNetError();
/**
* 绑定生命周期
* @param <T>
* @return
*/
<T> LifecycleTransformer<T> bindToLife();
/**
* 完成刷新, 新增控制刷新
*/
void finishRefresh();
}