File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
app/src/main/java/com/king/mvvmframe
example/src/main/java/com/king/mvvmframe/example Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ implementation 'com.king.frame:mvvmframe:1.0.2'
45
45
</dependency>
46
46
```
47
47
48
- ### ** dagger ** 和 ** room ** 的注解处理器
48
+ ### ** Dagger ** 和 ** Room ** 的注解处理器
49
49
50
50
您需要引入下面的列出的编译时的注解处理器,用于自动生成相关代码。其它对应版本具体详情可查看 [ Versions] ( https://github.com/jenly1314/MVVMFrame/releases )
51
51
``` gradle
@@ -67,7 +67,7 @@ implementation 'com.king.frame:mvvmframe:1.0.2'
67
67
68
68
```
69
69
70
- ### MVVMFrame引入的库(具体对应版本请查看[ Versions] ( versions.gradle ) )
70
+ ### MVVMFrame引入的库(具体对应版本请查看 [ Versions] ( versions.gradle ) )
71
71
``` gradle
72
72
//appcompat
73
73
compileOnly deps.appcompat
Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ protected void attachBaseContext(Context base) {
53
53
@ Override
54
54
public void onCreate () {
55
55
super .onCreate ();
56
+
57
+ //开始构建项目时,DaggerApplicationComponent类可能不存在,您需要执行Make Project才能生成,Make Project快捷键 Ctrl + F9
56
58
ApplicationComponent appComponent = DaggerApplicationComponent .builder ()
57
59
.appComponent (getAppComponent ())
58
60
.build ();
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ protected void attachBaseContext(Context base) {
51
51
@ Override
52
52
public void onCreate () {
53
53
super .onCreate ();
54
+
55
+ //开始构建项目时,DaggerApplicationComponent类可能不存在,您需要执行Make Project才能生成,Make Project快捷键 Ctrl + F9
54
56
ApplicationComponent appComponent = DaggerApplicationComponent .builder ()
55
57
.appComponent (getAppComponent ())
56
58
.build ();
You can’t perform that action at this time.
0 commit comments