整理资源
This commit is contained in:
@@ -38,6 +38,8 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
|
||||
implementation rootProject.ext.dependencies.androidxccorektx
|
||||
implementation rootProject.ext.dependencies.androidxappcompat
|
||||
implementation rootProject.ext.dependencies.androidxrecyclerview
|
||||
implementation rootProject.ext.dependencies.androidxconstraintlayout
|
||||
@@ -48,7 +50,6 @@ dependencies {
|
||||
|
||||
implementation rootProject.ext.dependencies.coroutinesandroid
|
||||
implementation rootProject.ext.dependencies.coroutinescore
|
||||
implementation rootProject.ext.dependencies.kotlinstdlibjdk7
|
||||
|
||||
api "com.mogo.libs:hook:1.0"
|
||||
if (Boolean.valueOf(RELEASE)) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.mogo.module.hmi.utils
|
||||
package com.mogo.module.common.utils
|
||||
|
||||
import com.mogo.module.common.enum.WarningTypeEnum
|
||||
import com.mogo.module.common.R
|
||||
@@ -7,7 +7,7 @@ import com.mogo.module.common.R
|
||||
* @author xiaoyuzhoukeyi
|
||||
* @date 2021/8/6 11:04 上午
|
||||
*/
|
||||
internal object WarningUtils {
|
||||
object WarningUtils {
|
||||
fun getWarningIcon(v2xType: Int): Array<Any> {
|
||||
var warningIconId = R.drawable.icon_warning_v2x_abnormal_vehicle
|
||||
var warningContent = "注意周边环境"
|
||||
@@ -13,7 +13,7 @@ import com.mogo.module.hmi.notification.WarningFloat
|
||||
import com.mogo.module.hmi.notification.anim.DefaultAnimator
|
||||
import com.mogo.module.hmi.notification.enums.SidePattern
|
||||
import com.mogo.module.hmi.ui.widget.ViewV2XNotification
|
||||
import com.mogo.module.hmi.utils.WarningUtils
|
||||
import com.mogo.module.common.utils.WarningUtils
|
||||
import kotlinx.android.synthetic.main.fragment_warning.*
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user