@@ -0,0 +1,458 @@
+package cn.droidlover.xdroidmvp.mvp;%0A%0A/**%0A * Created by wanglei on 2016/12/29.%0A */%0A%0Apublic class XPresent%3CV extends IView%3E implements IPresent%3CV%3E %7B%0A    private V v;%0A%0A    @Override%0A    public void attachV(V view) %7B%0A        v = view;%0A    %7D%0A%0A    @Override%0A    public void detachV() %7B%0A        v = null;%0A    %7D%0A%0A    protected V getV() %7B%0A        if (v == null) %7B%0A            throw new IllegalStateException(%22v can not be null%22);%0A        %7D%0A        return v;%0A    %7D%0A%7D%0A

add xpresent