[3.3.0] add func of demo view and rain view in main page ,plus union the sopview control ,and fix bug of chain
This commit is contained in:
@@ -2,6 +2,7 @@ package com.mogo.eagle.core.function.call.hmi
|
||||
|
||||
import android.view.ViewGroup
|
||||
import com.mogo.eagle.core.function.api.hmi.view.IViewControlListener
|
||||
import com.mogo.eagle.core.function.call.autopilot.CallerAutopilotActionsListenerManager
|
||||
import com.mogo.eagle.core.function.call.base.CallerBase
|
||||
|
||||
/**
|
||||
@@ -23,13 +24,20 @@ object CallerHmiViewControlListenerManager : CallerBase<IViewControlListener>()
|
||||
M_LISTENERS[tag]?.setStatusBarDarkOrLight(light)
|
||||
}
|
||||
|
||||
fun invokeFuncMode(funcTag:String, boolean: Boolean){
|
||||
M_LISTENERS.forEach {
|
||||
val listener = it.value
|
||||
listener.updateFuncMode(funcTag, boolean)
|
||||
}
|
||||
}
|
||||
|
||||
fun updateStatusBarRightView(
|
||||
tag: String,
|
||||
insert: Boolean,
|
||||
viewTag: String,
|
||||
viewGroup: ViewGroup
|
||||
) {
|
||||
M_LISTENERS[tag]?.updateStatusBarRightView(insert, tag, viewGroup)
|
||||
M_LISTENERS[tag]?.updateStatusBarRightView(insert, viewTag, viewGroup)
|
||||
}
|
||||
|
||||
fun updateStatusBarLeftView(
|
||||
@@ -38,7 +46,7 @@ object CallerHmiViewControlListenerManager : CallerBase<IViewControlListener>()
|
||||
viewTag: String,
|
||||
viewGroup: ViewGroup
|
||||
) {
|
||||
M_LISTENERS[tag]?.updateStatusBarLeftView(insert, tag, viewGroup)
|
||||
M_LISTENERS[tag]?.updateStatusBarLeftView(insert, viewTag, viewGroup)
|
||||
}
|
||||
|
||||
fun updateStatusBarDownloadView(tag: String, insert: Boolean, viewTag: String, progress: Int) {
|
||||
|
||||
Reference in New Issue
Block a user