MVPManager
MVPManager copied to clipboard
MVPManager是IntelliJ插件,可以快速创建MVP文件和方法(MVPManager is IntelliJ plugin, you can quickly create VMP file method)
现在可以直接在intellij或Android studio里面直接搜索插件“MVPManager”进行安装。
2.0.0
- 可以将创建的所有文件放一个包中;
- 通过单选按钮切换文件创建位置(单包/多包);
- 预览创建的文件所在包的位置;
- You can create all the files in a package.
- Through the radio button to switch the file to create the location (single package / multi-pack).
- Preview the location of the file where the file was created.

1.5.0
- 优化界面
- 添加自动继承XBasePresenter,当勾选xmvp时
- 添加自动继承XBaseActivity或Fragment

YouTube play:MVPManager use
优酷播放:MVPManager使用演示
安装MVPManager
- 通过jar包
Install MVPManager
- By jar
- Download MVPManager jar
- File -> setting -> Plugin -> Install plugin from disk
- Select the jar package you downloaded.
- OK then reboot Intellij/Android studio.
搭配xmvp library更加方便 / With xmvp library more convenient.
Address: https://github.com/xujiaji/XMVP
下面在编辑界面输入框中看到的XContract.View、XContract.Model、XContract.Presenter就是这个类库的。如果您不使用可以将输入框中的内容删除,添加您需要继承的父类接口,或者不继承父类接口。
开始编辑MVP代码 / Start edit MVP code.

修改MVP代码 / change MVP code.

License
MIT
