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
2e3c074a
Commit
2e3c074a
authored
Nov 20, 2019
by
konghaorui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复测评搜索框键盘无法弹出问题 - 未发布
parent
69d550ff
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
10 deletions
+1
-10
TestSearchActivity.kt
m-tests/src/main/java/com/yidianling/tests/search/TestSearchActivity.kt
+1
-1
UserHelper.kt
m-user/src/main/java/com/yidianling/user/UserHelper.kt
+0
-9
No files found.
m-tests/src/main/java/com/yidianling/tests/search/TestSearchActivity.kt
View file @
2e3c074a
...
@@ -132,7 +132,7 @@ class TestSearchActivity : BaseMvpActivity<TestSearchView, TestSearchPresenter>(
...
@@ -132,7 +132,7 @@ class TestSearchActivity : BaseMvpActivity<TestSearchView, TestSearchPresenter>(
}
}
rv_hot_list
.
addOnScrollListener
(
object
:
RecyclerView
.
OnScrollListener
()
{
rv_hot_list
.
addOnScrollListener
(
object
:
RecyclerView
.
OnScrollListener
()
{
override
fun
onScrolled
(
recyclerView
:
RecyclerView
?,
dx
:
Int
,
dy
:
Int
)
{
override
fun
onScrolled
(
recyclerView
:
RecyclerView
?,
dx
:
Int
,
dy
:
Int
)
{
if
(!
isFirstLoad
)
{
if
(!
isFirstLoad
&&
dx
!=
0
&&
dx
!=
0
)
{
hideSoftInput
()
hideSoftInput
()
}
}
}
}
...
...
m-user/src/main/java/com/yidianling/user/UserHelper.kt
View file @
2e3c074a
...
@@ -61,11 +61,7 @@ object UserHelper {
...
@@ -61,11 +61,7 @@ object UserHelper {
fun
getUserInfoStr
():
String
?
{
fun
getUserInfoStr
():
String
?
{
if
(
userTemp
!=
null
)
return
gson
.
toJson
(
userTemp
)
if
(
userTemp
!=
null
)
return
gson
.
toJson
(
userTemp
)
try
{
return
SharedPreferencesEditor
.
getFileString
(
user_info_name_sp
,
user_info_key_sp
)
return
SharedPreferencesEditor
.
getFileString
(
user_info_name_sp
,
user_info_key_sp
)
}
catch
(
e
:
Exception
)
{
return
""
}
}
}
fun
updateUserinfo
(
userInfo
:
UserResponseBean
.
UserInfo
?)
{
fun
updateUserinfo
(
userInfo
:
UserResponseBean
.
UserInfo
?)
{
...
@@ -135,10 +131,6 @@ object UserHelper {
...
@@ -135,10 +131,6 @@ object UserHelper {
fun
getUserSettingStr
():
String
?
{
fun
getUserSettingStr
():
String
?
{
if
(
userSetting
!=
null
)
return
gson
.
toJson
(
userSetting
)
if
(
userSetting
!=
null
)
return
gson
.
toJson
(
userSetting
)
try
{
return
SharedPreferencesEditor
.
getFileString
(
user_setting_name_sp
,
user_setting_key_sp
)
return
SharedPreferencesEditor
.
getFileString
(
user_setting_name_sp
,
user_setting_key_sp
)
}
catch
(
e
:
Exception
)
{
return
""
}
}
}
}
}
\ No newline at end of file
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