Modify: 添加Common项目相关公共组件
This commit is contained in:
@ -72,6 +72,6 @@ dependencies {
|
||||
if (!BuildConfig.isAppMode) {
|
||||
implementation project(path: ':Lib_Main')
|
||||
} else {
|
||||
implementation project(path: ':Lib_Base')
|
||||
implementation project(path: ':Lib_Common')
|
||||
}
|
||||
}
|
||||
@ -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>
|
||||
@ -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()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user