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
64f00069
Commit
64f00069
authored
May 31, 2022
by
万齐军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 拨打点击修改
parent
8dd041de
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
+11
-1
ItemIntroHolder.kt
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
+11
-1
No files found.
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
View file @
64f00069
...
...
@@ -70,9 +70,19 @@ internal class ItemIntroHolder(binding: ItemExpertIntroBinding) :
if
(
item
.
isVideo
)
"1"
else
"2"
,
"6"
)
val
status
=
item
.
lineStatus
.
get
()
when
(
status
)
{
2
,
3
->
{
//离线,通话中
(
itemView
.
context
as
?
Activity
)
?.
let
{
aty
->
findRouteService
(
IImService
::
class
.
java
).
startChat
(
aty
,
item
.
uid
!!
,
0
,
0
)
}
}
else
->
{
if
(!
item
.
confideId
.
isNullOrBlank
())
{
ConfideWebServiceImpl
().
connectionJava
(
item
.
confideId
!!
.
toInt
(),
3
,
it
.
context
as
Activity
,
null
)
{
showDoctorDetail
(
item
,
true
)
showDoctorDetail
(
item
,
true
)
}
}
}
}
// showDoctorDetail(item)
...
...
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