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
6c72f6e9
Commit
6c72f6e9
authored
Apr 13, 2020
by
严久程
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '咨询加声网' of
ssh://gitlab.yidianling.com:2224/app_android_lib/YDL-Component
into 咨询加声网
parents
205843ba
d2e3abca
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
+3
-1
TestAppActivity.kt
app/src/main/java/com/ydl/component/TestAppActivity.kt
+2
-0
ExpertSearchFragment.kt
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
+1
-1
No files found.
app/src/main/java/com/ydl/component/TestAppActivity.kt
View file @
6c72f6e9
...
...
@@ -4,6 +4,7 @@ import android.os.Bundle
import
android.support.v4.app.Fragment
import
android.support.v4.app.FragmentPagerAdapter
import
android.support.v7.app.AppCompatActivity
import
com.yidianling.consultant.ExpertSearchFragment
import
com.yidianling.dynamic.trendsHome.TrendsHomeFragment
import
com.yidianling.home.ui.fragment.YdlHomeFragment
import
kotlinx.android.synthetic.main.activity_test_app.*
...
...
@@ -25,6 +26,7 @@ class TestAppActivity : AppCompatActivity() {
setContentView
(
R
.
layout
.
activity_test_app
)
fragments
.
add
(
YdlHomeFragment
())
fragments
.
add
(
ExpertSearchFragment
())
fragments
.
add
(
TrendsHomeFragment
().
setTab
(
"trend_tap"
))
val
adapter
:
FragmentPagerAdapter
=
object
:
FragmentPagerAdapter
(
supportFragmentManager
)
{
...
...
m-consultant/src/main/java/com/yidianling/consultant/ExpertSearchFragment.kt
View file @
6c72f6e9
...
...
@@ -307,7 +307,7 @@ class ExpertSearchFragment : BaseMvpFragment<IExpertSearchView, ExpertSearchPres
override
fun
setUserVisibleHint
(
isVisibleToUser
:
Boolean
)
{
super
.
setUserVisibleHint
(
isVisibleToUser
)
if
(
isVisibleToUser
&&
isResumed
)
{
if
(
isVisibleToUser
&&
isResumed
&&
userVisibleHint
)
{
showConsultAssistantDialog
()
}
else
{
hideConsultAssistantDialog
()
...
...
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