[6.2.0] fix bug of ui roma passenger view
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user