Modify: 删除无用文件,现在是一个无项目相关性的可修改直接复用的MVVM架构框架

This commit is contained in:
Quyunshuo
2020-08-29 21:09:38 +08:00
parent 9e8a0010e6
commit afd6c5e0b2
30 changed files with 9 additions and 470 deletions

View File

@ -70,7 +70,8 @@ android {
dependencies {
implementation fileTree(dir: "libs", include: ["*.jar"])
if (!BuildConfig.isAppMode) {
implementation project(path: ':Lib_Main')
// 有业务组件时 把这个去掉 这里只是为了使用base里的依赖库
implementation project(path: ':Lib_Common')
} else {
implementation project(path: ':Lib_Common')
}

View File

@ -28,9 +28,6 @@
<meta-data
android:name="design_height_in_dp"
android:value="640" />
<!-- <meta-data-->
<!-- android:name="design_height_in_dp"-->
<!-- android:value="400" />-->
</application>
</manifest>

View File

@ -1,6 +1,5 @@
package com.quyunshuo.androidbaseframemvvm
import com.quyunshuo.androidbaseframemvvm.eventbus.index.MainEventIndex
import com.quyunshuo.common.CommonApplication
import org.greenrobot.eventbus.EventBus
@ -16,7 +15,7 @@ class AppApplication : CommonApplication() {
// 开启EventBusAPT,优化反射效率
EventBus
.builder()
.addIndex(MainEventIndex())
// .addIndex()
.installDefaultEventBus()
super.initialize()
}