[2.12.0] local code style change
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user