[6.2.0] fix bug of roma view status
This commit is contained in:
@@ -77,8 +77,8 @@ class RomaBusView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun mapRomaInRange(range: Boolean) {
|
||||
if(range){
|
||||
override fun romaViewStatus(status: Boolean) {
|
||||
if(status){
|
||||
this.visibility = View.VISIBLE
|
||||
} else {
|
||||
this.visibility = View.GONE
|
||||
|
||||
@@ -68,8 +68,8 @@ class RomaPassengerView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun mapRomaInRange(range: Boolean) {
|
||||
if(range){
|
||||
override fun romaViewStatus(status: Boolean) {
|
||||
if(status){
|
||||
this.visibility = View.VISIBLE
|
||||
} else {
|
||||
this.visibility = View.GONE
|
||||
|
||||
@@ -77,8 +77,8 @@ class RomaTaxiView @JvmOverloads constructor(
|
||||
}
|
||||
}
|
||||
|
||||
override fun mapRomaInRange(range: Boolean) {
|
||||
if(range){
|
||||
override fun romaViewStatus(status: Boolean) {
|
||||
if(status){
|
||||
this.visibility = View.VISIBLE
|
||||
} else {
|
||||
this.visibility = View.GONE
|
||||
|
||||
Reference in New Issue
Block a user