Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
c7f17394
Commit
c7f17394
authored
Jun 08, 2022
by
刘鹏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat/lp/lp_v4.3.95' into 'd/v4.3.95'
声网优化代码合并 See merge request app_android_lib/YDL-Component!140
parents
366e99b6
15ce4787
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
AudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
+1
-1
ConsultantAudioHomeActivity.kt
m-audioim/src/main/java/com/ydl/consultantim/ConsultantAudioHomeActivity.kt
+6
-6
No files found.
m-audioim/src/main/java/com/ydl/audioim/AudioHomeActivity.kt
View file @
c7f17394
...
...
@@ -1259,7 +1259,7 @@ class AudioHomeActivity :
totalDisposable
=
Observable
.
interval
(
0
,
1
,
TimeUnit
.
SECONDS
)
.
subscribeOn
(
Schedulers
.
computation
())
.
take
(
remainTime
!!
.
toLong
()
+
60
)
.
take
(
remainTime
!!
.
toLong
()
+
1
)
.
observeOn
(
AndroidSchedulers
.
mainThread
())
.
subscribe
({
localRemainTime
=
...
...
m-audioim/src/main/java/com/ydl/consultantim/ConsultantAudioHomeActivity.kt
View file @
c7f17394
...
...
@@ -552,21 +552,21 @@ class ConsultantAudioHomeActivity :
* 初始化界面用户信息
*/
private
fun
initUser
()
{
var
userName
=
"咨询
用户
"
var
userName
=
"咨询
师
"
if
(
null
!=
mAudioMessageBean
)
{
if
(!
TextUtils
.
isEmpty
(
mAudioMessageBean
!!
.
userName
))
{
userName
=
mAudioMessageBean
!!
.
userName
!!
if
(!
TextUtils
.
isEmpty
(
mAudioMessageBean
?
.
userName
))
{
userName
=
mAudioMessageBean
?
.
userName
!!
}
if
(!
TextUtils
.
isEmpty
(
mAudioMessageBean
!!
.
userIcon
))
{
if
(!
TextUtils
.
isEmpty
(
mAudioMessageBean
?
.
userIcon
))
{
var
option
=
SimpleImageOpConfiger
()
option
.
errorPic
=
R
.
drawable
.
audioim_head_place_hold_pic
option
.
loadingPic
=
R
.
drawable
.
audioim_head_place_hold_pic
option
.
transform
=
0
YDLImageCacheManager
.
showImage
(
this
,
mAudioMessageBean
!!
.
userIcon
,
iv_head
,
option
)
YDLImageCacheManager
.
showImage
(
this
,
mAudioMessageBean
?
.
userIcon
,
iv_head
,
option
)
}
else
{
iv_head
.
setBackgroundResource
(
R
.
drawable
.
audioim_head_place_hold_pic
)
}
userId
=
mAudioMessageBean
!!
.
userId
?.
toInt
()
?:
-
1
userId
=
mAudioMessageBean
?
.
userId
?.
toInt
()
?:
-
1
}
else
{
iv_head
.
setBackgroundResource
(
R
.
drawable
.
audioim_head_place_hold_pic
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment