[taxi]
[主线程封装问题]
This commit is contained in:
yangyakun
2023-10-09 18:58:57 +08:00
parent ee7168d7e5
commit 8a511df991

View File

@@ -76,9 +76,9 @@ class StartAutopilotViewModel : ViewModel(), IOCHTaxiPassengerOrderStatusCallbac
}
private fun runMain(posttion:DoorPosition,state: DoorState){
UiThreadHandler.post {
UiThreadHandler.post({
viewCallback?.setDoorStatus(posttion,state)
}
},UiThreadHandler.MODE.QUEUE)
}