Skip to content

Commit d531d95

Browse files
committed
README
1 parent 4136c1e commit d531d95

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@
6767
2.app.gradle 添加
6868
```java
6969
dependencies {
70-
implementation 'com.github.TanZhiL.FragmentKey:fragmentkey:1.0.0'
71-
annotationProcessor 'com.github.TanZhiL.FragmentKey:fragmentkey-compiler:1.0.0'
70+
implementation 'com.github.TanZhiL.FragmentKey:fragmentkey:1.0.1'
71+
annotationProcessor 'com.github.TanZhiL.FragmentKey:fragmentkey-compiler:1.0.1'
7272
}
7373
```
7474
## Usage:
75-
1.在需要外部传递的字段上加上Inject注解
75+
1.在需要外部传递的字段上加上Inject注解,然后build
7676
```java
7777
@Inject
7878
public String mUsername;
@@ -82,7 +82,7 @@ dependencies {
8282
@Inject
8383
public int age;
8484
```
85-
2.创建fragment实例时使用xxxKey.get(...)方法;
85+
2.创建fragment实例时使用xxxKey.get(...)方法;xxxKey类由apt自动生成.
8686
```java
8787
TFragment2 tFragment = new TFragment2Key().get("姓名", "密码", 10);
8888
```

0 commit comments

Comments
 (0)