Merge branch 'dev_robotaxi-d_260311_8.4.0' into dev_robotaxi-d_260311_8.5.0_yyk

This commit is contained in:
yangyakun
2026-04-21 20:54:00 +08:00
2 changed files with 10 additions and 10 deletions

View File

@@ -288,14 +288,14 @@ public class BusPassengerRouteFragment extends
return;
}
if (isArrived){
mCurrentArriveStationTitle.setText(ResourcesUtils.getString(R.string.shuttle_p_jl_cur_next_station_title));
mCurrentArriveTip.setBackgroundResource(R.drawable.shuttle_p_jl_cur_station_un_arrived_bg);
handleArrivingSpeakIconDrawable();
}else {
mCurrentArriveStationTitle.setText(ResourcesUtils.getString(R.string.shuttle_p_jl_cur_station_title));
mCurrentArriveTip.setText(ResourcesUtils.getString(R.string.shuttle_p_jl_cur_station_arrived_tip));
mCurrentArriveTip.setBackgroundResource(R.drawable.shuttle_p_jl_cur_station_arrived_bg);
handleArrivedSpeakIconDrawable();
}else {
mCurrentArriveStationTitle.setText(ResourcesUtils.getString(R.string.shuttle_p_jl_cur_next_station_title));
mCurrentArriveTip.setBackgroundResource(R.drawable.shuttle_p_jl_cur_station_un_arrived_bg);
handleArrivingSpeakIconDrawable();
}
}

View File

@@ -70,22 +70,22 @@ class PM2DrivingInfoFragment :
return PM2DrivingPresenter(this)
}
fun updateStationsInfo(stations: MutableList<BusStationBean>, i: Int, isArrived: Boolean) {
fun updateStationsInfo(stations: MutableList<BusStationBean>, i: Int, isLeave: Boolean) {
if(stations.isEmpty()){
emptyView.visibility = View.VISIBLE
arriveView.visibility = View.GONE
lineView.visibility = View.GONE
lineView.clear()
}else{
if(isArrived&&i!=0){
if(isLeave&&i!=0){
emptyView.visibility = View.GONE
arriveView.visibility = View.GONE
lineView.visibility = View.VISIBLE
}else{
emptyView.visibility = View.GONE
arriveView.visibility = View.VISIBLE
lineView.visibility = View.GONE
arriveView.setArrivedStation(stations.get(i))
}else{
emptyView.visibility = View.GONE
arriveView.visibility = View.GONE
lineView.visibility = View.VISIBLE
}
}