| | |
| | | import android.os.CountDownTimer |
| | | import android.os.Handler |
| | | import android.os.Looper |
| | | import android.view.View |
| | | import cn.sinata.xldutils.utils.* |
| | | import com.okgoincar.netUtls.callNet |
| | | import com.okgoincar.netUtls.getMapByAny |
| | |
| | | tv_name.text = it.data.nickName |
| | | tv_car_num.text = it.data.historyNum.toString() + "次乘车" |
| | | tv_phone.text = it.data.phone |
| | | |
| | | tv_phone.clickDelay { |
| | | MyUtils.getInstans().CallPhone(this, it.data.phone.toString()) |
| | | } |
| | |
| | | tv_time.text = it.data.travelTime |
| | | tv_start_address.text = it.data.startAddress |
| | | tv_end_address.text = it.data.endAddress |
| | | tv_end_address.visibility = if (it.data.endAddress.isNullOrEmpty()) View.GONE else View.VISIBLE |
| | | tv_red_money.text = it.data.tipMoney.toString() + "元小费" |
| | | // when (orderBean.data.orderState) { |
| | | // 10, 11 -> { |