[6.7.0]
[fix] [线程问题]
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package com.mogo.och.unmanned.taxi.ui.routing
|
||||
|
||||
import androidx.lifecycle.ViewModel
|
||||
import com.mogo.och.common.module.manager.loop.BizLoopManager
|
||||
import com.mogo.och.unmanned.taxi.bean.StartGrayAndQueryContrailRsp
|
||||
|
||||
/**
|
||||
@@ -25,7 +26,9 @@ class RoutingSwitchModel : ViewModel() {
|
||||
}
|
||||
|
||||
fun showLoading() {
|
||||
this.viewCallback?.showLoadingView()
|
||||
BizLoopManager.runInMainThread{
|
||||
this.viewCallback?.showLoadingView()
|
||||
}
|
||||
}
|
||||
|
||||
fun showRoutingSelectView(){
|
||||
|
||||
Reference in New Issue
Block a user