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
47e43179
Commit
47e43179
authored
Sep 26, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
3b22fff6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
19 additions
and
1 deletion
+19
-1
DrawProgressActivity.kt
...com/duben/dayplaylet/ui/activitys/DrawProgressActivity.kt
+2
-0
NineActivity.kt
...in/java/com/duben/dayplaylet/ui/activitys/NineActivity.kt
+6
-0
SettingsActivity.kt
...ava/com/duben/dayplaylet/ui/activitys/SettingsActivity.kt
+2
-0
DrawCashFragment.kt
...com/duben/dayplaylet/ui/fragment/draw/DrawCashFragment.kt
+8
-0
activity_aboutus.xml
video/app/src/main/res/layout/activity_aboutus.xml
+1
-1
No files found.
video/app/src/main/java/com/duben/dayplaylet/ui/activitys/DrawProgressActivity.kt
View file @
47e43179
...
@@ -145,6 +145,8 @@ class DrawProgressActivity : BaseActivity(), View.OnClickListener {
...
@@ -145,6 +145,8 @@ class DrawProgressActivity : BaseActivity(), View.OnClickListener {
tempAdProgress
=
tempAdProgress
+
1
tempAdProgress
=
tempAdProgress
+
1
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
isFinishing
)
return
@postDelayed
val
showProgress
=
progress
+
tempAdProgress
val
showProgress
=
progress
+
tempAdProgress
pb_draw_progress
.
progress
=
showProgress
pb_draw_progress
.
progress
=
showProgress
pb_draw_progress
.
max
=
max
pb_draw_progress
.
max
=
max
...
...
video/app/src/main/java/com/duben/dayplaylet/ui/activitys/NineActivity.kt
View file @
47e43179
...
@@ -97,6 +97,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
...
@@ -97,6 +97,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
AppConfig
.
mainMusicRefresh
=
true
AppConfig
.
mainMusicRefresh
=
true
refreshTaskCount
()
refreshTaskCount
()
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
isFinishing
)
return
@postDelayed
finish
()
finish
()
},
500
)
},
500
)
}
}
...
@@ -172,6 +174,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
...
@@ -172,6 +174,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
*/
*/
private
fun
adCloseNext
(
carrierType
:
String
)
{
private
fun
adCloseNext
(
carrierType
:
String
)
{
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
isFinishing
)
return
@postDelayed
startNine
()
startNine
()
},
500
)
},
500
)
}
}
...
@@ -194,6 +198,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
...
@@ -194,6 +198,8 @@ class NineActivity : BaseActivity(), View.OnClickListener {
lucky_panel2
.
tryToStop
(
5
)
lucky_panel2
.
tryToStop
(
5
)
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
isFinishing
)
return
@postDelayed
showWithdrawSucDialog
(
0.0
)
showWithdrawSucDialog
(
0.0
)
},
2000
)
},
2000
)
}
}
...
...
video/app/src/main/java/com/duben/dayplaylet/ui/activitys/SettingsActivity.kt
View file @
47e43179
...
@@ -179,6 +179,8 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
...
@@ -179,6 +179,8 @@ class SettingsActivity : BaseActivity(), View.OnClickListener {
ToastUtil
.
show
(
this
@SettingsActivity
,
"注销账户申请已发起!"
)
ToastUtil
.
show
(
this
@SettingsActivity
,
"注销账户申请已发起!"
)
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(
isFinishing
)
return
@postDelayed
finish
()
finish
()
},
200
)
},
200
)
...
...
video/app/src/main/java/com/duben/dayplaylet/ui/fragment/draw/DrawCashFragment.kt
View file @
47e43179
...
@@ -312,13 +312,18 @@ class DrawCashFragment : LazyLoadBaseFragment(), DrawCashView, DrawCashAdapter.O
...
@@ -312,13 +312,18 @@ class DrawCashFragment : LazyLoadBaseFragment(), DrawCashView, DrawCashAdapter.O
Constant
.
CARRIERTYPE_ONLY_SHOW
->
{
Constant
.
CARRIERTYPE_ONLY_SHOW
->
{
TrackManager
.
getInstance
().
addCashoutReq
(
currentDrawInfo
?.
unitId
)
TrackManager
.
getInstance
().
addCashoutReq
(
currentDrawInfo
?.
unitId
)
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(!
isAdded
)
return
@postDelayed
showToast
(
"发起提现成功"
)
showToast
(
"发起提现成功"
)
},
1000
)
},
1000
)
}
}
Constant
.
CARRIERTYPE_REWARD_COIN
->
{
Constant
.
CARRIERTYPE_REWARD_COIN
->
{
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(!
isAdded
)
return
@postDelayed
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(!
isAdded
)
return
@postDelayed
ConsumerToastUtil
.
showAwardText
(
requireContext
(),
AppConfig
.
awardRedpkg
,
0
)
ConsumerToastUtil
.
showAwardText
(
requireContext
(),
AppConfig
.
awardRedpkg
,
0
)
},
800
)
},
800
)
...
@@ -327,7 +332,10 @@ class DrawCashFragment : LazyLoadBaseFragment(), DrawCashView, DrawCashAdapter.O
...
@@ -327,7 +332,10 @@ class DrawCashFragment : LazyLoadBaseFragment(), DrawCashView, DrawCashAdapter.O
}
}
Constant
.
CARRIERTYPE_REWARD_DI
->
{
Constant
.
CARRIERTYPE_REWARD_DI
->
{
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(!
isAdded
)
return
@postDelayed
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
if
(!
isAdded
)
return
@postDelayed
ConsumerToastUtil
.
showAwardText
(
requireContext
(),
0
,
AppConfig
.
awardYuanbao
)
ConsumerToastUtil
.
showAwardText
(
requireContext
(),
0
,
AppConfig
.
awardYuanbao
)
},
800
)
},
800
)
...
...
video/app/src/main/res/layout/activity_aboutus.xml
View file @
47e43179
...
@@ -115,7 +115,7 @@
...
@@ -115,7 +115,7 @@
android:layout_marginLeft=
"30dp"
android:layout_marginLeft=
"30dp"
android:layout_marginRight=
"30dp"
android:layout_marginRight=
"30dp"
android:gravity=
"center"
android:gravity=
"center"
android:text=
"Copyright © 202
0
Inc."
android:text=
"Copyright © 202
3
Inc."
android:textColor=
"#454A69"
android:textColor=
"#454A69"
android:textSize=
"12sp"
/>
android:textSize=
"12sp"
/>
</LinearLayout>
</LinearLayout>
...
...
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