Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
android_vedio
Project
Project
Details
Activity
Releases
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
android
android_vedio
Commits
ca565b98
Commit
ca565b98
authored
Sep 26, 2023
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码游湖
parent
b536733c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
MusicFragment.kt
...in/java/com/duben/dayplaylet/ui/fragment/MusicFragment.kt
+7
-7
No files found.
video/app/src/main/java/com/duben/dayplaylet/ui/fragment/MusicFragment.kt
View file @
ca565b98
...
...
@@ -50,7 +50,6 @@ import com.duben.dayplaylet.utils.RxBus.MsgEvent
import
com.duben.library.utils.nodoubleclick.AntiShake
import
io.reactivex.Observer
import
io.reactivex.disposables.Disposable
import
kotlinx.android.synthetic.main.drama_activity_api_detail.*
import
kotlinx.android.synthetic.main.fragment_music.*
import
kotlinx.android.synthetic.main.fragment_music.cl_reward
import
kotlinx.android.synthetic.main.fragment_music.iv_cash_reward
...
...
@@ -357,13 +356,16 @@ class MusicFragment : LazyLoadBaseFragment(), MusicView, View.OnClickListener {
}
override
fun
onNext
(
t
:
MsgEvent
)
{
if
(!
t
.
msg
.
equals
(
feedParamsForCallback
[
"group_id"
]))
return
// if (!t.msg.equals(feedParamsForCallback["group_id"])) return
for
(
i
in
optionsList
.
indices
)
{
val
right
=
answer
==
i
if
(
right
)
{
mMusicBean
?.
let
{
if
(
it
.
nextIsAd
&&
optionsList
[
i
].
isClickable
)
{
quizIvRedbox0
.
visibility
=
View
.
GONE
quizIvRedbox1
.
visibility
=
View
.
GONE
if
(
i
==
0
)
{
quizIvRedbox0
.
visibility
=
View
.
VISIBLE
...
...
@@ -372,10 +374,8 @@ class MusicFragment : LazyLoadBaseFragment(), MusicView, View.OnClickListener {
View
.
VISIBLE
}
}
else
{
quizIvRedbox0
.
visibility
=
View
.
GONE
quizIvRedbox0
.
visibility
=
View
.
GONE
quizIvRedbox0
.
visibility
=
View
.
GONE
quizIvRedbox0
.
visibility
=
View
.
GONE
}
}
}
...
...
@@ -769,7 +769,7 @@ class MusicFragment : LazyLoadBaseFragment(), MusicView, View.OnClickListener {
OnCountDownTimerListener
{
override
fun
onTick
(
millisUntilFinished
:
Long
)
{
quizTvPop
.
text
=
String
.
format
(
"%2d
s
后消失"
,
"%2d
S
后消失"
,
(
millisUntilFinished
/
1000
).
toInt
()
)
}
...
...
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