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
8817ed2c
Commit
8817ed2c
authored
Nov 21, 2019
by
徐健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
升级咨询模块
parent
84f65e74
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
8 deletions
+12
-8
config.gradle
config.gradle
+2
-2
ConsultAssistantDialogUtils.kt
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
+10
-6
No files found.
config.gradle
View file @
8817ed2c
ext
{
kotlin_version
=
"1.3.21"
dev_mode
=
fals
e
dev_mode
=
tru
e
ydl_app
=
[
appName
:
"心理咨询壹点灵"
,
...
...
@@ -43,7 +43,7 @@ ext {
// -------------- 业务模块 --------------
//第三步 若干
"m-confide"
:
"0.0.18"
,
"m-consultant"
:
"0.0.3
3
"
,
"m-consultant"
:
"0.0.3
4
"
,
"m-course"
:
"0.0.17"
,
"m-fm"
:
"0.0.15"
,
"m-muse"
:
"0.0.11"
,
...
...
m-consultant/src/main/java/com/yidianling/consultant/modular/singlton/ConsultAssistantDialogUtils.kt
View file @
8817ed2c
...
...
@@ -71,8 +71,8 @@ class ConsultAssistantDialogUtils private constructor() {
* 首页页展示
*/
fun
showFromYdlHome
(
activity
:
Activity
)
{
consultAssistantDialogFromHomePage
?.
dismiss
()
consultAssistantDialogFromHomePage
=
null
if
(!
activity
.
isFinishing
)
{
if
(
consultAssistantDialogFromHomePage
==
null
)
{
consultAssistantDialogFromHomePage
=
ConsultAssistantDialog
(
activity
,
object
:
ConsultAssistantDialog
.
OnConsultAssistantClickListener
{
...
...
@@ -82,14 +82,16 @@ class ConsultAssistantDialogUtils private constructor() {
}
})
}
consultAssistantDialogFromHomePage
?.
show
()
}
}
/**
* 首页隐藏
*/
fun
hideFromHomePage
()
{
consultAssistantDialogFromHomePage
?.
dismiss
()
consultAssistantDialogFromHomePage
?.
hide
()
}
////////////////////////////////////// 首页的展示隐藏逻辑 代码块end ///////////////////////////////////////////////////
...
...
@@ -120,8 +122,8 @@ class ConsultAssistantDialogUtils private constructor() {
* 咨询师列表页展示浮层
*/
fun
showDialog
(
activity
:
Activity
)
{
consultAssistantDialog
?.
dismiss
()
consultAssistantDialog
=
null
if
(!
activity
.
isFinishing
)
{
if
(
consultAssistantDialog
==
null
)
{
consultAssistantDialog
=
ConsultAssistantDialog
(
activity
,
object
:
ConsultAssistantDialog
.
OnConsultAssistantClickListener
{
...
...
@@ -136,15 +138,17 @@ class ConsultAssistantDialogUtils private constructor() {
}
})
}
consultAssistantDialog
?.
show
()
}
}
/**
* 咨询师列表页隐藏
*/
fun
hide
()
{
consultAssistantDialog
?.
dismiss
()
consultAssistantDialog
?.
hide
()
}
/**
...
...
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