We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4136c1e commit d531d95Copy full SHA for d531d95
README.md
@@ -67,12 +67,12 @@
67
2.app.gradle 添加
68
```java
69
dependencies {
70
- implementation 'com.github.TanZhiL.FragmentKey:fragmentkey:1.0.0'
71
- annotationProcessor 'com.github.TanZhiL.FragmentKey:fragmentkey-compiler:1.0.0'
+ implementation 'com.github.TanZhiL.FragmentKey:fragmentkey:1.0.1'
+ annotationProcessor 'com.github.TanZhiL.FragmentKey:fragmentkey-compiler:1.0.1'
72
}
73
```
74
## Usage:
75
-1.在需要外部传递的字段上加上Inject注解
+1.在需要外部传递的字段上加上Inject注解,然后build
76
77
@Inject
78
public String mUsername;
@@ -82,7 +82,7 @@ dependencies {
82
83
public int age;
84
85
-2.创建fragment实例时使用xxxKey.get(...)方法;
+2.创建fragment实例时使用xxxKey.get(...)方法;xxxKey类由apt自动生成.
86
87
TFragment2 tFragment = new TFragment2Key().get("姓名", "密码", 10);
88
0 commit comments