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
2dc5f8aa
Commit
2dc5f8aa
authored
Jul 05, 2021
by
刘鹏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复跳过逻辑
parent
355dbab9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
3 deletions
+21
-3
config.gradle
config.gradle
+1
-1
CmsExamQuestionPaperActivity.kt
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
+10
-1
im_view_question_infomation.xml
m-im/src/main/res_uikit/layout/im_view_question_infomation.xml
+10
-1
No files found.
config.gradle
View file @
2dc5f8aa
...
...
@@ -10,7 +10,7 @@ ext {
"m-fm"
:
"0.0.30.03"
,
"m-user"
:
"0.0.61.37"
,
"m-home"
:
"0.0.22.65"
,
"m-im"
:
"0.0.19.2
7
"
,
"m-im"
:
"0.0.19.2
8
"
,
"m-dynamic"
:
"0.0.7.22"
,
"m-article"
:
"0.0.0.10"
,
...
...
m-im/src/main/java/com/yidianling/im/ui/activity/CmsExamQuestionPaperActivity.kt
View file @
2dc5f8aa
...
...
@@ -101,6 +101,8 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
}
override
fun
initDataAndEvent
()
{
mType70RequestList
.
clear
()
mType71RequestList
.
clear
()
if
(
isJumpToIm
())
{
//如果今天答过题,跳转到聊天界面
skipToIm
()
...
...
@@ -114,6 +116,12 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
preExamQuestionPaper
()
}
override
fun
onNewIntent
(
intent
:
Intent
?)
{
super
.
onNewIntent
(
intent
)
mType70RequestList
.
clear
()
mType71RequestList
.
clear
()
}
private
fun
initRecycle
()
{
val
linearLayoutManager
=
LinearLayoutManager
(
mContext
,
RecyclerView
.
VERTICAL
,
false
)
recycle
.
layoutManager
=
linearLayoutManager
...
...
@@ -200,6 +208,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
/**添加view事件*/
private
fun
addVIewListener
()
{
left_back_btn
.
setOnClickListener
{
finish
()
}
tv_skip
.
setOnClickListener
{
if
(
Utils
.
isFastClick
())
{
//防止连击
...
...
@@ -662,7 +671,7 @@ class CmsExamQuestionPaperActivity : BaseActivity() {
val
skipTime
=
SharedPreferencesEditor
.
getString
(
"skip_time_"
)
if
(
skipTime
==
null
||
skipTime
.
isEmpty
())
{
return
tru
e
return
fals
e
}
val
timeDifference
=
(
time
-
skipTime
.
toLong
())
/
1000
val
second
=
1000
...
...
m-im/src/main/res_uikit/layout/im_view_question_infomation.xml
View file @
2dc5f8aa
...
...
@@ -11,7 +11,16 @@
android:layout_width=
"match_parent"
android:layout_height=
"44dp"
android:background=
"@color/white"
>
<ImageView
android:id=
"@+id/left_back_btn"
android:layout_width=
"36dp"
android:layout_height=
"44dp"
android:paddingTop=
"10dp"
android:paddingBottom=
"10dp"
android:paddingLeft=
"12dp"
android:paddingRight=
"12dp"
android:scaleType=
"centerCrop"
android:src=
"@drawable/im_nim_actionbar_dark_back_icon"
/>
<ImageView
android:id=
"@+id/iv_close"
android:layout_width=
"26dp"
...
...
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