[6.6.0]
[资源名称修改]
This commit is contained in:
@@ -183,15 +183,15 @@ class ShuttleFragment : BaseShuttleTabFragment<ShuttleFragment?, BusPresenter?>(
|
||||
}
|
||||
|
||||
UiThreadHandler.post(Runnable {
|
||||
if (stationList == null) {
|
||||
if (stationList == null) {
|
||||
// 获取小巴数据失败
|
||||
return@Runnable
|
||||
}
|
||||
showStationsPanel()
|
||||
showOrHideSwitchLineBtn(false)
|
||||
|
||||
mLineName!!.text = lineName
|
||||
mTaskTime!!.text = ResourcesUtils.getString(R.string.bus_line_time_tag,lineTime)
|
||||
mLineName?.text = lineName
|
||||
mTaskTime?.text = ResourcesUtils.getString(R.string.shuttle_line_time_tag,lineTime)
|
||||
// 渲染小巴路线数据
|
||||
updateBusStationStatus(stationList, arrivingOrArrivedIndex, isArrived)
|
||||
}, UiThreadHandler.MODE.QUEUE)
|
||||
|
||||
@@ -99,15 +99,10 @@ class BusPresenter(view: ShuttleFragment?) : Presenter<ShuttleFragment?>(view),
|
||||
arrivingOrArrivedIndex - 1
|
||||
}
|
||||
d(SceneConstant.M_BUS + "BusOrderModel =", " mCurrentStation =$mCurrentStation")
|
||||
|
||||
UiThreadHandler.post({
|
||||
if (mView != null) {
|
||||
mView!!.updateBusTaskStatus(
|
||||
lineName, lineTime,
|
||||
stationList, arrivingOrArrivedIndex, isArrived
|
||||
)
|
||||
}
|
||||
}, UiThreadHandler.MODE.QUEUE)
|
||||
mView?.updateBusTaskStatus(
|
||||
lineName, lineTime,
|
||||
stationList, arrivingOrArrivedIndex, isArrived
|
||||
)
|
||||
}
|
||||
|
||||
override fun updateEmptyUi() {
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
<string name="bus_arrived_str">进站</string>
|
||||
<string name="bus_station_txt_tag_start">起</string>
|
||||
<string name="bus_station_txt_tag_end">终</string>
|
||||
<string name="bus_line_time_tag">班次:%1$s</string>
|
||||
<string name="shuttle_line_time_tag">班次:%1$s</string>
|
||||
|
||||
<string name="bus_refresh_time">更新时间:%1$s</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user