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
75edfaab
Commit
75edfaab
authored
Jul 12, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat : 主诉滑动效果去除
parent
74cab434
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
25 deletions
+1
-25
config.gradle
config.gradle
+1
-1
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+0
-24
No files found.
config.gradle
View file @
75edfaab
...
@@ -10,7 +10,7 @@ ext {
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.37"
,
"m-user"
:
"0.0.61.37"
,
"m-home"
:
"0.0.22.68"
,
"m-home"
:
"0.0.22.68"
,
"m-im"
:
"0.0.19.5
0
"
,
"m-im"
:
"0.0.19.5
1
"
,
"m-dynamic"
:
"0.0.7.25"
,
"m-dynamic"
:
"0.0.7.25"
,
"m-article"
:
"0.0.0.10"
,
"m-article"
:
"0.0.0.10"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
75edfaab
...
@@ -197,30 +197,6 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
...
@@ -197,30 +197,6 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
}
}
})
})
mQuestionAdapter
.
setOnItemChildClickListener
{
adapter
,
view
,
position
->
if
(
view
.
id
==
R
.
id
.
tv_notes
)
{
//如何描述点击事件 ,展开后滑动到列表底部
mQuestionAdapter
.
data
[
position
].
type5Open
=
true
mQuestionAdapter
.
notifyDataSetChanged
()
recycle
.
smoothScrollToPosition
(
mQuestionAdapter
.
data
.
size
)
}
}
recycle
.
addOnScrollListener
(
object
:
RecyclerView
.
OnScrollListener
()
{
override
fun
onScrollStateChanged
(
recyclerView
:
RecyclerView
,
newState
:
Int
)
{
super
.
onScrollStateChanged
(
recyclerView
,
newState
)
if
(
newState
==
RecyclerView
.
SCROLL_STATE_DRAGGING
&&
mData
.
size
>
0
)
{
//监听滑动 如果是
for
((
index
,
item
)
in
mData
.
withIndex
())
{
if
(
item
.
viewType
==
5
&&
item
.
type5Open
)
{
mQuestionAdapter
.
data
[
index
].
type5Open
=
false
mQuestionAdapter
.
notifyItemChanged
(
index
)
}
}
}
}
})
}
}
...
...
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