[6.2.4]修复AI数据采集数据展示问题

This commit is contained in:
xuxinchao
2023-12-12 18:48:45 +08:00
parent 2b01260b5c
commit b7972e5b06

View File

@@ -136,7 +136,7 @@ class AIDataCollectWindow constructor(activity: Activity) : View.OnTouchListener
})
rvCollectList?.adapter = aiDataListAdapter
//注册网络接口获取数据监听
CallerDevaToolsNetManager.addListener(TAG,this)
CallerDevaToolsNetManager.addListener(this.hashCode().toString(),this)
//获取数据
BadCaseNetManager.badCaseNetManager.getAiData()
@@ -297,7 +297,7 @@ class AIDataCollectWindow constructor(activity: Activity) : View.OnTouchListener
//注销采集结果回调监听
CallerAutopilotRecordListenerManager.removeListener(this.hashCode().toString())
//注销网络接口监听
CallerDevaToolsNetManager.removeListener(this)
CallerDevaToolsNetManager.removeListener(this.hashCode().toString())
// 移除 ADAS车辆状态&定位 监听
CallerChassisLocationWGS84ListenerManager.removeListener(this.hashCode().toString())
if (mFloatLayout.parent != null) mWindowManager!!.removeView(mFloatLayout)