[6.0.0]
[显示debugView]
This commit is contained in:
@@ -233,6 +233,10 @@ class TaxiPassengerBaseFragment() :
|
||||
}
|
||||
}
|
||||
|
||||
fun setOverMapDebug(){
|
||||
overMapView.setDebugMode(true)
|
||||
}
|
||||
|
||||
/**
|
||||
* 显示或者隐藏乘客可点击自动驾驶页面
|
||||
* 乘客验证成功,页面显示,按钮置于不可点击
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user