[6.1.0]
[taxi] [主线程封装问题]
This commit is contained in:
@@ -76,9 +76,9 @@ class StartAutopilotViewModel : ViewModel(), IOCHTaxiPassengerOrderStatusCallbac
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun runMain(posttion:DoorPosition,state: DoorState){
|
private fun runMain(posttion:DoorPosition,state: DoorState){
|
||||||
UiThreadHandler.post {
|
UiThreadHandler.post({
|
||||||
viewCallback?.setDoorStatus(posttion,state)
|
viewCallback?.setDoorStatus(posttion,state)
|
||||||
}
|
},UiThreadHandler.MODE.QUEUE)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user