[fea]
[taxi 展示当前所在站点]
This commit is contained in:
yangyakun
2024-12-24 17:16:10 +08:00
parent 93ac33eb69
commit c0c42e76f8
4 changed files with 202 additions and 122 deletions

View File

@@ -273,11 +273,11 @@ object OrderModel {
?.observeOn(AndroidSchedulers.mainThread())
?.subscribe(object : Observer<Boolean> {
override fun onSubscribe(d: Disposable) {
d(TAG, "onSubscribe")
d(TAG, "driveToNextStation onSubscribe")
}
override fun onError(e: Throwable) {
d(TAG, "onError${e.printStackTrace()}")
d(TAG, "driveToNextStation onError${e.printStackTrace()}")
if (e is DataException) {
}
@@ -297,6 +297,7 @@ object OrderModel {
}
override fun onNext(data: Boolean) {
d(TAG, "driveToNextStation onComplete")
if (data) {
LineModel.leaveStationSuccess()
isArrivedStation = false