MVPManager icon indicating copy to clipboard operation
MVPManager copied to clipboard

MVPManager是IntelliJ插件,可以快速创建MVP文件和方法(MVPManager is IntelliJ plugin, you can quickly create VMP file method)

banner MVPManager release Github release download license 

 现在可以直接在intellij或Android studio里面直接搜索插件“MVPManager”进行安装。 

2.0.0

  1. 可以将创建的所有文件放一个包中;
  2. 通过单选按钮切换文件创建位置(单包/多包);
  3. 预览创建的文件所在包的位置;
  1. You can create all the files in a package.
  2. Through the radio button to switch the file to create the location (single package / multi-pack).
  3. Preview the location of the file where the file was created.

update_2_0_0

1.5.0

  1. 优化界面
  2. 添加自动继承XBasePresenter,当勾选xmvp时
  3. 添加自动继承XBaseActivity或Fragment update_1_5_0

YouTube play:MVPManager use

IMAGE_VIDEO

优酷播放:MVPManager使用演示

IMAGE_VIDEO

安装MVPManager

  • 通过jar包
  1. 下载MVPManager jar包 Github release download
  2. File -> setting -> Plugin -> Install plugin from disk
  3. 选择您刚刚下载的jar包。
  4. 点击OK后重启就好了。

Install MVPManager

  • By jar
  1. Download MVPManager jar Github release download
  2. File -> setting -> Plugin -> Install plugin from disk
  3. Select the jar package you downloaded.
  4. 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.

open_edit edit

修改MVP代码 / change MVP code.

open_change change

License

MIT