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
911b7259
Commit
911b7259
authored
Nov 20, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改导医逻辑
parent
d7a69202
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
2 deletions
+20
-2
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+20
-2
No files found.
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
911b7259
...
@@ -255,10 +255,28 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -255,10 +255,28 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
// })
// })
image_scroll_top
.
setOnClickListener
(
this
)
image_scroll_top
.
setOnClickListener
(
this
)
// initStatus()
// initStatus()
}
override
fun
setUserVisibleHint
(
isVisibleToUser
:
Boolean
)
{
super
.
setUserVisibleHint
(
isVisibleToUser
)
if
(
isVisibleToUser
&&
isResumed
)
{
showConsultAssistantDialog
()
}
else
{
hideConsultAssistantDialog
()
}
if
(
isVisibleToUser
&&
isResumed
)
{
onResume
()
}
}
private
fun
showConsultAssistantDialog
()
{
ConsultAssistantDialogUtils
.
INSTANCE
.
fitRequest
(
activity
,
"doctor_list"
)
ConsultAssistantDialogUtils
.
INSTANCE
.
fitRequest
(
activity
,
"doctor_list"
)
}
}
private
fun
hideConsultAssistantDialog
()
{
ConsultAssistantDialogUtils
.
INSTANCE
.
hide
()
}
private
fun
initNetLossView
()
{
private
fun
initNetLossView
()
{
v_loading
.
setListener
(
object
:
LogoLoadingView
.
LogoLoadingListener
{
v_loading
.
setListener
(
object
:
LogoLoadingView
.
LogoLoadingListener
{
override
fun
onDataResetClick
()
{
override
fun
onDataResetClick
()
{
...
@@ -909,11 +927,11 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
...
@@ -909,11 +927,11 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
}
else
{
}
else
{
updateFilterTextViewStatus
(
tvFilter
,
FILTER_STATUS_NORMAL
)
updateFilterTextViewStatus
(
tvFilter
,
FILTER_STATUS_NORMAL
)
}
}
ConsultAssistantDialogUtils
.
INSTANCE
.
fitRequest
(
activity
,
"doctor_list"
)
showConsultAssistantDialog
(
)
}
}
filterPopupWindow
.
isClippingEnabled
=
false
filterPopupWindow
.
isClippingEnabled
=
false
filterPopupWindow
.
showAtLocation
(
viewSep2
.
rootView
,
Gravity
.
TOP
+
Gravity
.
RIGHT
,
0
,
0
)
filterPopupWindow
.
showAtLocation
(
viewSep2
.
rootView
,
Gravity
.
TOP
+
Gravity
.
RIGHT
,
0
,
0
)
ConsultAssistantDialogUtils
.
INSTANCE
.
hide
()
hideConsultAssistantDialog
()
filterPopupWindow
.
onFilterConfirmListener
=
this
filterPopupWindow
.
onFilterConfirmListener
=
this
updateFilterTextViewStatus
(
tvFilter
,
FILTER_STATUS_OPEN
)
updateFilterTextViewStatus
(
tvFilter
,
FILTER_STATUS_OPEN
)
// viewDim.visibility = View.VISIBLE
// viewDim.visibility = View.VISIBLE
...
...
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