[3.4.0-map-sdk]merge
This commit is contained in:
@@ -57,7 +57,7 @@ class RomaBusView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
setOnClickListener {
|
||||
if (ClickUtils.isClickTooFrequent(this,1000)) {
|
||||
if (ClickUtils.isClickTooFrequent(this,2500)) {
|
||||
return@setOnClickListener
|
||||
}
|
||||
if(!click){
|
||||
|
||||
@@ -42,7 +42,7 @@ class RomaPassengerView @JvmOverloads constructor(
|
||||
normalRes = a.getResourceId(R.styleable.RomaPassengerView_roma_close, 0)
|
||||
a.recycle()
|
||||
setOnClickListener {
|
||||
if (ClickUtils.isClickTooFrequent(this,1000)) {
|
||||
if (ClickUtils.isClickTooFrequent(this,2500)) {
|
||||
return@setOnClickListener
|
||||
}
|
||||
if(!click){
|
||||
|
||||
@@ -10,7 +10,8 @@ import com.mogo.eagle.core.function.api.map.roma.IMoGoRomaListener
|
||||
import com.mogo.eagle.core.function.call.map.CallerMapIdentifyManager.romaTrigger
|
||||
import com.mogo.eagle.core.function.call.map.CallerMapRomaListener
|
||||
import com.mogo.eagle.core.function.hmi.R
|
||||
import com.mogo.eagle.core.utilcode.util.*
|
||||
import com.mogo.eagle.core.utilcode.util.ClickUtils
|
||||
import com.mogo.eagle.core.utilcode.util.ToastUtils
|
||||
import kotlinx.android.synthetic.main.view_roma_taxi_bg.view.ivRomaView
|
||||
import kotlinx.android.synthetic.main.view_roma_taxi_bg.view.ll_roma_bg
|
||||
|
||||
@@ -55,7 +56,7 @@ class RomaTaxiView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
setOnClickListener {
|
||||
if (ClickUtils.isClickTooFrequent(this,1000)) {
|
||||
if (ClickUtils.isClickTooFrequent(this,2500)) {
|
||||
return@setOnClickListener
|
||||
}
|
||||
if(!click){
|
||||
|
||||
Reference in New Issue
Block a user