[显示debugView]
This commit is contained in:
yangyakun
2023-09-06 20:57:33 +08:00
committed by zhongchao
parent dedab37192
commit 5893a17887
2 changed files with 8 additions and 0 deletions

View File

@@ -233,6 +233,10 @@ class TaxiPassengerBaseFragment() :
}
}
fun setOverMapDebug(){
overMapView.setDebugMode(true)
}
/**
* 显示或者隐藏乘客可点击自动驾驶页面
* 乘客验证成功,页面显示,按钮置于不可点击

View File

@@ -12,6 +12,7 @@ import com.mogo.och.taxi.passenger.R
import com.mogo.och.taxi.passenger.ui.TaxiPassengerBaseFragment
import kotlinx.android.synthetic.main.taxi_p_debug.view.tv_show_arrive
import kotlinx.android.synthetic.main.taxi_p_debug.view.tv_show_order_info
import kotlinx.android.synthetic.main.taxi_p_debug.view.tv_show_overmap_debug
import kotlinx.android.synthetic.main.taxi_p_debug.view.tv_show_phone_check
import kotlinx.android.synthetic.main.taxi_p_debug.view.tv_show_start_autopilot
import org.greenrobot.eventbus.EventBus
@@ -61,6 +62,9 @@ class DebugView @JvmOverloads constructor(
tv_show_order_info.onClick {
fragment?.showOrHideServingOrderFragment(true)
}
tv_show_overmap_debug.onClick {
fragment?.setOverMapDebug()
}
}
@Subscribe(threadMode = ThreadMode.MAIN)
fun changeOverview(debugEvent: DebugEvent) {