[原文地址](http://androidwing.net/index.php/27)
[GitHub地址](https://github.com/githubwing/MVPHelper)
詳細更新操作可以參考上面的GitHub地址
作者對MVP的理解可以參考:[Android開發之初識MVP模式](http://blog.csdn.net/wingichoy/article/details/50893367)
### MVPHelper
一款Intellj IDEA 和Android Studio的插件,可以為MVP生成接口以及實現類,解放雙手。
Github 地址 https://github.com/githubwing/MVPHelper

#### **注意**
對于MVP模式,定義一個Contract類來放置Model View Presenter 的接口,將大大減少類文件。將普通的接口替代如下:
~~~
public interface GoodsInfoContract {
public interface View{
}
public interface Presenter{
}
public interface Model{
}
}
~~~
當你在Contract類中使用插件,效果如下:

#### **如何使用**
安裝完插件后
在Contract類或者Presenter類內部,點擊Generate菜單,選擇MVPHelper即可生成對應文件


### 參考文章:
[Android 使用MVPHelper工具生成,MVPDemo模擬登錄演示](http://blog.csdn.net/qq_35070105/article/details/69663298)