package com.oo.eye.mvp;

import com.oo.eye.mvp.contract.EyeHistroyContract;
import com.oo.eye.mvp.contract.EyeMainContract;
import com.oo.eye.mvp.contract.EyeTestContract;
import com.oo.eye.mvp.presenter.EyeHistroyPresenter;
import com.oo.eye.mvp.presenter.EyeMainPresenter;
import com.oo.eye.mvp.presenter.EyeTestPresenter;

/**
 * Created by xucon on 2017/12/26.
 */

public class PresenterFactory {

	public static void createEyeTestPresenter(EyeTestContract.View view){
		new EyeTestPresenter(view);
	}

	public static void createEyeHistroyPresenter(EyeHistroyContract.View view){
		new EyeHistroyPresenter(view);
	}

	public static EyeMainContract.Presenter createEyeMainPresenter(EyeMainContract.View view){
		return new EyeMainPresenter(view);
	}
}
