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
4fe87aa7
Commit
4fe87aa7
authored
Jun 21, 2022
by
范玉宾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
format code & remove constant
parent
255aa6b4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
13 deletions
+10
-13
ConfideHomeRecycleViewListener.kt
m-confide/src/main/java/com/ydl/confide/home/listener/ConfideHomeRecycleViewListener.kt
+2
-2
ConfideOrderInfoView.java
m-im/src/main/java/com/yidianling/uikit/custom/widget/ConfideOrderInfoView.java
+8
-11
No files found.
m-confide/src/main/java/com/ydl/confide/home/listener/ConfideHomeRecycleViewListener.kt
View file @
4fe87aa7
...
...
@@ -47,10 +47,10 @@ class ConfideHomeRecycleViewListener() : RecyclerView.OnScrollListener() {
}
}
if
(
dy
>
0
&&
visible
)
{
if
(
dy
>
0
&&
visible
)
{
visible
=
false
listener
.
onHide
()
}
else
if
(
dy
<
0
&&
!
visible
)
{
}
else
if
(
dy
<
0
&&
!
visible
)
{
visible
=
true
listener
.
onShow
()
}
...
...
m-im/src/main/java/com/yidianling/uikit/custom/widget/ConfideOrderInfoView.java
View file @
4fe87aa7
...
...
@@ -143,30 +143,27 @@ public class ConfideOrderInfoView extends RelativeLayout {
}
});
String
R_CONFIDE_HOME
=
"/confide/home"
;
//点击整个view,跳转订单详情页面
setOnClickListener
(
view
->
{
if
(
Utils
.
isFastClick
()){
if
(
Utils
.
isFastClick
())
{
return
;
}
String
remainTime
=
ActionHandlerStorage
.
getL
(
mSessionId
).
getInfo
().
listenOrderRemainTime
;
if
(
TextUtils
.
isEmpty
(
remainTime
))
{
Pair
<
String
,
String
>
confideId
=
new
Pair
<>(
IYDLRouterConstant
.
EXTRA_CONFIDEDID
,
if
(
TextUtils
.
isEmpty
(
remainTime
))
{
Pair
<
String
,
String
>
confideId
=
new
Pair
<>(
IYDLRouterConstant
.
EXTRA_CONFIDEDID
,
info
.
listenerId
);
Pair
<
String
,
String
>
doctorId
=
new
Pair
<>(
IYDLRouterConstant
.
EXTRA_DOCTORID
,
Pair
<
String
,
String
>
doctorId
=
new
Pair
<>(
IYDLRouterConstant
.
EXTRA_DOCTORID
,
info
.
doctorId
);
route
(
getContext
(),
R_CONFIDE_HOME
,
confideId
,
doctorId
);
}
else
{
if
(
info
!=
null
)
{
route
(
getContext
(),
ConfideRoute
.
R_CONFIDE_HOME
,
confideId
,
doctorId
);
}
else
{
if
(
info
!=
null
)
{
String
confideId
=
info
.
listenerId
;
findRouteService
(
IConfideService
.
class
)
.
showExpertDetailDialog
(
(
FragmentActivity
)
mContext
,
(
FragmentActivity
)
mContext
,
HttpConfig
.
Companion
.
getMH5_URL
()
+
ConfideRoute
.
INSTANCE
.
h5ConfideIntro
(
confideId
),
info
.
doctorId
,
info
.
toUid
);
...
...
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