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
f9c476b5
Commit
f9c476b5
authored
Sep 20, 2023
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
6144cdc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
TaskAwardActivity.kt
...va/com/duben/dayplaylet/ui/activitys/TaskAwardActivity.kt
+12
-10
No files found.
video/app/src/main/java/com/duben/dayplaylet/ui/activitys/TaskAwardActivity.kt
View file @
f9c476b5
...
@@ -24,14 +24,14 @@ import kotlinx.android.synthetic.main.activity_task_award.*
...
@@ -24,14 +24,14 @@ import kotlinx.android.synthetic.main.activity_task_award.*
class
TaskAwardActivity
:
BaseActivity
(),
View
.
OnClickListener
{
class
TaskAwardActivity
:
BaseActivity
(),
View
.
OnClickListener
{
companion
object
{
companion
object
{
const
val
REDPACKET
=
"REDPACKET"
const
val
REDPACKET
=
"REDPACKET"
//只领取
const
val
MORE_REDPACKET
=
"MORE_REDPACKET"
const
val
MORE_REDPACKET
=
"MORE_REDPACKET"
//更多红包
const
val
MORE_YUANBAO
=
"MORE_YUANBAO"
const
val
MORE_YUANBAO
=
"MORE_YUANBAO"
//更多元宝
const
val
FLAG_REDPACKET
=
"FLAG_REDPACKET"
const
val
FLAG_REDPACKET
=
"FLAG_REDPACKET"
//红包最多标识
const
val
FLAG_YUANBAO
=
"FLAG_YUANBAO"
const
val
FLAG_YUANBAO
=
"FLAG_YUANBAO"
//元宝最多标识
const
val
CARRIERTYPE
=
"CARRIERTYPE"
const
val
CARRIERTYPE
=
"CARRIERTYPE"
//完成奖励点击领取
const
val
CARRIERTYPE_ALL
=
"CARRIERTYPE_ALL"
const
val
CARRIERTYPE_ALL
=
"CARRIERTYPE_ALL"
//完成奖励点击领取时候后全拿下
const
val
LIST_ID
=
"LIST_ID"
const
val
LIST_ID
=
"LIST_ID"
//
}
}
private
var
redPacketMore
=
0
private
var
redPacketMore
=
0
...
@@ -137,13 +137,15 @@ class TaskAwardActivity : BaseActivity(), View.OnClickListener {
...
@@ -137,13 +137,15 @@ class TaskAwardActivity : BaseActivity(), View.OnClickListener {
finish
()
finish
()
}
}
R
.
id
.
iv_task_award_ad
->
{
R
.
id
.
iv_task_award_ad
->
{
showAd
(
carrierTypeAll
)
showAd
(
carrierTypeAll
)
}
}
R
.
id
.
tv_award_next
->
{
R
.
id
.
tv_award_next
->
{
val
vo
=
java
.
util
.
HashMap
<
String
,
Any
>()
val
vo
=
HashMap
<
String
,
Any
>()
vo
[
"carrierType"
]
=
carrierType
vo
[
"carrierType"
]
=
carrierType
vo
[
"list_id"
]
=
listId
TrackManager
.
getInstance
().
reportAddCoinMsg
(
vo
)
TrackManager
.
getInstance
().
reportAddCoinMsg
(
vo
)
finish
()
finish
()
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
Handler
(
Looper
.
getMainLooper
()).
postDelayed
({
ConsumerToastUtil
.
showAwardText
(
ConsumerToastUtil
.
showAwardText
(
...
...
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