Merge branch 'dev_robotaxi-d_260311_8.4.0' into dev_robotaxi-d_260311_8.5.0_yyk
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user