[6.2.0] fix bug of ui roma passenger view

This commit is contained in:
zhongchao
2023-11-30 16:04:57 +08:00
parent fb21d812a3
commit 64a2f4d722
3 changed files with 21 additions and 4 deletions

View File

@@ -78,6 +78,19 @@ class RomaPassengerView @JvmOverloads constructor(
}
}
/**
* 外部调用visible时进行判断
*/
fun updateVisible(visible: Boolean){
if(visible){
if(CallerMapRomaListener.isRange()){
this.visibility = View.VISIBLE
}
}else{
this.visibility = View.GONE
}
}
override fun romaStatus(status: Boolean) {
ThreadUtils.runOnUiThread {
click = true