Commit 8a448150 by 霍志良

feat:倾诉拨打电话文案修改

parent 41f73487
......@@ -5,7 +5,7 @@ ext {
ydlPublishVersion = [
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.40",
"m-confide" : "0.0.49.43",
"m-consultant" : "0.0.60.03",
"m-fm" : "0.0.30.04",
"m-user" : "0.0.61.94",
......@@ -39,7 +39,7 @@ ext {
"ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.59",
"m-audioim" : "0.0.49.29.61",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......@@ -88,7 +88,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide" : "0.0.49.40",
"m-confide" : "0.0.49.43",
"m-consultant" : "0.0.60.03",
"m-fm" : "0.0.30.07",
"m-user" : "0.0.61.94",
......@@ -121,7 +121,7 @@ ext {
"ydl-webview" : "0.0.38.47",
"ydl-media" : "0.0.21.42",
"ydl-pay" : "0.0.18.19",
"m-audioim" : "0.0.49.29.59",
"m-audioim" : "0.0.49.29.61",
"ydl-flutter-base": "0.0.14.38",
//以下 几乎不会动
......
......@@ -721,18 +721,23 @@ class AudioHomeActivity :
//开始50s等待倒计时
waitDisposable =
Observable.interval(0, 100, TimeUnit.MILLISECONDS).subscribeOn(Schedulers.computation())
.take(600).observeOn(AndroidSchedulers.mainThread()).subscribe({
.take(700).observeOn(AndroidSchedulers.mainThread()).subscribe({
val remainTime = 50 - it / 10
if (remainTime <= 0) {
waittingStatus()
audio_hangup_text.text="挂断"
} else {
tv_change_time_counter.text = "${remainTime}s"
audio_hangup_text.text="挂断(${remainTime})s"
}
var result = it.toFloat() / 2.5f
if (remainTime<=20){
audio_hangup_text.text="挂断"
}else{
audio_hangup_text.text="挂断(${remainTime-20})s"
}
var result = it.toFloat() -20
progress_view.setProgress(result)
if (result >= 100f && !iv_hang_up.isEnabled) {
audio_hangup_text.text="挂断"
//挂断按钮可点击
iv_hang_up.isEnabled = true
iv_hang_up.setImageResource(R.drawable.audioim_img_hang_up)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment