Skip to content

Commit 5cbc251

Browse files
authored
Update README_EN.md
update
1 parent 744f714 commit 5cbc251

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

README_EN.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ MvpAutoCodePlus
55

66
JetBrains IDEA/Android Studio MVP template code generation plug-in
77

8-
![screenshots](./images/MVP.GIF)
8+
![screenshots](./images/mvp.gif)
99

1010
##Character
1111

@@ -31,23 +31,24 @@ JetBrains IDEA/Android Studio MVP template code generation plug-in
3131

3232
![install](./images/install1.PNG)
3333

34-
- ** manual installation :**
34+
- **manual installation :**
3535
[`download the latest release of plug-in package `][latest release] - > <kbd>File</kbd> ><kbd>Preferences(Settings)</kbd> > <kbd>Plugins</kbd> > <kbd>Install plugin from disk...</kbd>
3636

37-
**Restart the IDE**.
37+
- **Restart the IDE**.
38+
3839
##Usage
3940

4041
1. Configure the parent interface:
4142

4243
- <kbd>File</kbd> > <kbd>Preferences(Settings)</kbd> > <kbd>Other Settings</kbd> > <kbd>MvpAutoCodePlus</kbd> >
4344

44-
![Settings](./images/Settings.PNG)
45+
![settings](./images/settings.png)
4546
Based on [` this a set of Java interfaces `] [my_interface_java] example configuration:
46-
![settings1](./images/settings1.PNG)
47-
Project in the Class has been V1.0beta2 support to choose, but if there are generic limit, generic or need to manually add, such as the choice of Class signature is: **. com.longforus.Base.Java.BasePresenterJv<V extends IView, M extends IModel>**
48-
![use3](./images/use3.PNG)
47+
![settings1](./images/settings1.png)
48+
Project in the Class has been V1.0beta2 support to choose, but if there are generic limit, generic or need to manually add, such as the choice of Class signature is: **com.longforus.Base.Java.BasePresenterJv<V extends IView, M extends IModel>**
49+
![use3](./images/use3.png)
4950
Manually add the following generic qualifier <V,M>:
50-
![use4](./images/use4.PNG)
51+
![use4](./images/use4.png)
5152
Global and current project modes are also supported, and the interfaces configured in global mode can be used in all projects. The interfaces configured in the current project only work in the current project, facilitating seamless switching between multiple different projects.
5253
2. Generate:
5354

@@ -57,7 +58,8 @@ JetBrains IDEA/Android Studio MVP template code generation plug-in
5758
- choose the code implementation, Java or Kotlin
5859
- select the implementation method of View,Activity or Fragment. If there are multiple configurations, select one of them, and remove the previous check box for the items you don't want to generate. If there are no superclasses of P and M implementation classes, the generated implementation classes of P and M will only implement the corresponding interface.
5960
- click Ok, wait a moment, and the code is generated. The generated package structure is as follows:
60-
![use2](./images/use2.PNG)
61+
![use2](./images/use2.png)
62+
6163
##About the parent interface
6264

6365
Only use my own currently use interface to development and testing, welcome to use their own interface for testing. If need [` I use interface `][my_interface], please download it in your own project.
@@ -77,4 +79,4 @@ if do not meet the requirements of your plugin. Can issue, also can fork to modi
7779
[downloads-img]: https://img.shields.io/jetbrains/plugin/d/8579.svg?style=flat-square
7880
[plugin]: https://plugins.jetbrains.com/plugin/10907-mvpautocodeplus
7981
[my_interface]:https://github.com/longforus/MVPExample
80-
[my_interface_java]:https://github.com/longforus/MVPExample/tree/master/app/src/main/java/com/longforus/base/java
82+
[my_interface_java]:https://github.com/longforus/MVPExample/tree/master/app/src/main/java/com/longforus/base/java

0 commit comments

Comments
 (0)