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
cfc16170
Commit
cfc16170
authored
Jun 21, 2022
by
fengquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: Code Review代码调整
parent
2e1cb369
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
ConfideBottomSheetDialogFragment.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
+0
-0
ConfideHomeActivity.kt
m-confide/src/main/java/com/ydl/confide/home/ConfideHomeActivity.kt
+1
-1
ConfideHomeRecommendExpertItemView.kt
m-confide/src/main/java/com/ydl/confide/home/widget/ConfideHomeRecommendExpertItemView.kt
+1
-1
ConfideHomeRecommendView.kt
m-confide/src/main/java/com/ydl/confide/home/widget/ConfideHomeRecommendView.kt
+2
-2
ItemIntroHolder.kt
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
+2
-2
No files found.
m-confide/src/main/java/com/ydl/confide/home/ConfideBottomSheetDialogFragment.kt
View file @
cfc16170
This diff is collapsed.
Click to expand it.
m-confide/src/main/java/com/ydl/confide/home/ConfideHomeActivity.kt
View file @
cfc16170
...
...
@@ -666,7 +666,7 @@ class ConfideHomeActivity :
super
.
onBackPressed
()
}
public
fun
searchLinkUrlByUid
(
uid
:
String
):
String
{
fun
searchLinkUrlByUid
(
uid
:
String
):
String
{
cacheList
?.
forEach
{
confideHomeDataBean
->
confideHomeDataBean
.
body
?.
forEach
{
confideHomeBodyBean
->
if
(
uid
==
confideHomeBodyBean
.
uid
.
toString
()){
...
...
m-confide/src/main/java/com/ydl/confide/home/widget/ConfideHomeRecommendExpertItemView.kt
View file @
cfc16170
...
...
@@ -243,7 +243,7 @@ class ConfideHomeRecommendExpertItemView(mContext: Context, private var confideH
private
fun
click
(
bodyBean
:
ConfideHomeBodyBean
)
{
when
(
bodyBean
.
confideLine
)
{
//1在线 2离线 3通话中
1
,
3
,
4
->
{
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
)
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
)
}
2
->
{
//跳转私聊 并发送自定义消息
...
...
m-confide/src/main/java/com/ydl/confide/home/widget/ConfideHomeRecommendView.kt
View file @
cfc16170
...
...
@@ -94,7 +94,7 @@ class ConfideHomeRecommendView(var view: IConfideHomeContract.View, context: Con
"1"
)
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
,
bodyBean
.
linkUrl
)
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
,
bodyBean
.
linkUrl
)
}
img_head
.
setOnClickListener
{
...
...
@@ -345,7 +345,7 @@ class ConfideHomeRecommendView(var view: IConfideHomeContract.View, context: Con
if
(
bodyBean
.
confideLine
==
3
)
{
}
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
)
confideHomeEvent
.
consultantClick
(
bodyBean
.
doctorId
,
bodyBean
.
confidedId
,
bodyBean
.
uid
?.
toString
(),
bodyBean
.
listenFree
)
}
2
->
{
//跳转私聊 并发送自定义消息
...
...
m-confide/src/main/java/com/ydl/confide/intro/ItemIntroHolder.kt
View file @
cfc16170
...
...
@@ -430,9 +430,9 @@ internal fun VideoViewModel.mapOf(bean: ConfideHomeBodyBean): VideoViewModel {
uid
=
bean
.
uid
?.
toString
()
doctorId
=
bean
.
doctorId
confideId
=
bean
.
confidedId
if
(
bean
.
listenFree
==
null
){
if
(
bean
.
listenFree
==
null
)
{
listenFree
.
set
(
false
)
}
else
{
}
else
{
listenFree
.
set
(
bean
.
listenFree
!!
)
}
return
this
...
...
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