Modify: 添加Common项目相关公共组件

This commit is contained in:
Quyunshuo
2020-08-27 17:08:52 +08:00
parent 6f267b7005
commit 478e9ffd2f
21 changed files with 161 additions and 26 deletions

View File

@ -72,6 +72,6 @@ dependencies {
if (!BuildConfig.isAppMode) {
implementation project(path: ':Lib_Main')
} else {
implementation project(path: ':Lib_Base')
implementation project(path: ':Lib_Common')
}
}

View File

@ -9,6 +9,6 @@
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/AppTheme" />
android:theme="@style/base_AppTheme" />
</manifest>

View File

@ -1,7 +1,7 @@
package com.quyunshuo.androidbaseframemvvm
import androidx.multidex.MultiDex
import com.quyunshuo.base.BaseApplication
import com.quyunshuo.common.CommonApplication
/**
* @Author: QuYunShuo
@ -9,10 +9,10 @@ import com.quyunshuo.base.BaseApplication
* @Class: AppApplication
* @Remark: 壳App的Application 负责需要写在App包下的初始化逻辑
*/
class AppApplication : BaseApplication() {
class AppApplication : CommonApplication() {
override fun onCreate() {
super.onCreate()
MultiDex.install(this)
super.onCreate()
}
}