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
c7e6afe8
Commit
c7e6afe8
authored
Jun 27, 2022
by
fengquan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复首页下滑后点击顶部搜索图标,未跳转搜索
parent
cc620624
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
YdlHomeFragment.kt
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
+7
-1
home_fragment.xml
m-home/src/ydl/res/layout/home_fragment.xml
+3
-3
No files found.
m-home/src/ydl/java/com/yidianling/home/ui/fragment/YdlHomeFragment.kt
View file @
c7e6afe8
...
@@ -176,7 +176,13 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
...
@@ -176,7 +176,13 @@ open class YdlHomeFragment : BaseMvpFragment<IHomeContract.View, HomePresenterIm
if
(!
TextUtils
.
isEmpty
(
doctorName
))
{
if
(!
TextUtils
.
isEmpty
(
doctorName
))
{
searchText
=
doctorName
searchText
=
doctorName
}
}
home_tv
.
setOnClickListener
{
homeEvent
?.
searchTvClick
(
searchText
)
}
home_tv
.
setOnClickListener
{
homeEvent
?.
searchTvClick
(
searchText
)
}
iv_search_icon
.
setOnClickListener
{
homeEvent
?.
searchTvClick
(
searchText
)
}
home_tv
.
text
=
searchText
home_tv
.
text
=
searchText
}
}
...
...
m-home/src/ydl/res/layout/home_fragment.xml
View file @
c7e6afe8
...
@@ -154,10 +154,10 @@
...
@@ -154,10 +154,10 @@
<ImageView
<ImageView
android:id=
"@+id/iv_search_icon"
android:id=
"@+id/iv_search_icon"
android:layout_width=
"
12dp
"
android:layout_width=
"
@dimen/platform_dp_26
"
android:layout_height=
"
12dp
"
android:layout_height=
"
@dimen/platform_dp_14
"
android:layout_gravity=
"center_vertical"
android:layout_gravity=
"center_vertical"
android:
layout_margin
Left=
"12dp"
android:
padding
Left=
"12dp"
android:src=
"@drawable/home_icon_search"
/>
android:src=
"@drawable/home_icon_search"
/>
<TextView
<TextView
...
...
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