[2.12.0] local code style change

This commit is contained in:
zhongchao
2022-11-08 11:03:10 +08:00
parent 39ececd4d7
commit fbe1801488
200 changed files with 4306 additions and 5612 deletions

View File

@@ -32,6 +32,13 @@ object CallerHmiManager : CallerBase() {
get() = ARouter.getInstance().build(MoGoFragmentPaths.PATH_FRAGMENT_HMI)
.navigation() as? IMoGoWaringProvider
/**
* 浓雾预警
*/
fun displayEffects(){
waringProviderApi?.displayEffects()
}
/**
* 隐藏 脉速表
* @param visibility View.VISIBLE, View.INVISIBLE,View.GONE

View File

@@ -3,6 +3,7 @@ package com.mogo.eagle.core.function.call.map
import android.content.Context
import com.mogo.eagle.core.data.constants.MogoServicePaths
import com.mogo.eagle.core.function.api.map.IMogoMapService
import com.mogo.eagle.core.function.api.map.marker.IMogoMarkerService
import com.mogo.eagle.core.function.call.base.CallerBase
import com.mogo.map.listener.IMogoHosListenerRegister
import com.mogo.map.location.IMogoLocationClient
@@ -11,10 +12,11 @@ import com.mogo.map.search.geo.IMogoGeoSearch
import com.mogo.map.uicontroller.IMogoMapUIController
object CallerMapUIServiceManager {
private val serviceProvider : IMogoMapService? by lazy {
private val serviceProvider: IMogoMapService? by lazy {
CallerBase.getApiInstance(
IMogoMapService::class.java,
MogoServicePaths.PATH_SERVICES_MAP)
MogoServicePaths.PATH_SERVICES_MAP
)
}
fun getMapUIController(): IMogoMapUIController? {
@@ -36,4 +38,8 @@ object CallerMapUIServiceManager {
fun getMarkerManager(context: Context): IMogoMarkerManager? {
return serviceProvider?.getMarkerManager(context)
}
fun getMarkerService(): IMogoMarkerService? {
return serviceProvider?.markerService
}
}