Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
luckyfarm_xynt
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
王雪伟
luckyfarm_xynt
Commits
7228c241
Commit
7228c241
authored
Mar 22, 2021
by
王雪伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[提交人]:王雪伟
[提交简述] :幸运农田 [实现方案] :修改引导和打卡提现字段
parent
3ec21d26
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
GameActivity.kt
app/src/main/java/com/ym/game/GameActivity.kt
+3
-1
ClockInWithdrawAdpater.kt
...c/main/java/com/ym/game/adapter/ClockInWithdrawAdpater.kt
+1
-1
version.properties
app/version.properties
+2
-2
ClockInWithdrawEntity.kt
.../main/java/com/ym/library/module/ClockInWithdrawEntity.kt
+1
-0
No files found.
app/src/main/java/com/ym/game/GameActivity.kt
View file @
7228c241
...
@@ -417,16 +417,18 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback, GameContra
...
@@ -417,16 +417,18 @@ class GameActivity : UnityPlayerActivity(), IDialogViewCloseCallback, GameContra
//看视频解锁地块
//看视频解锁地块
fun
lookAdVideoUnLockLand
(
landId
:
Int
)
{
fun
lookAdVideoUnLockLand
(
landId
:
Int
)
{
Log
.
d
(
"wxw"
,
"看视频解锁1"
)
AdUtils
.
playRewardAd
(
AdUtils
.
playRewardAd
(
this
@GameActivity
,
this
@GameActivity
,
"UNLOCK_LAND"
,
"UNLOCK_LAND"
,
object
:
IAdVideoListener
{
object
:
IAdVideoListener
{
override
fun
onAdClose
()
{
override
fun
onAdClose
()
{
Log
.
d
(
"wxw"
,
"看视频解锁2"
)
getUnLockFruit
(
landId
)
getUnLockFruit
(
landId
)
}
}
override
fun
onError
(
errorMsg
:
String
?)
{
override
fun
onError
(
errorMsg
:
String
?)
{
Log
.
d
(
"wxw"
,
"看视频解锁 errorMsg$errorMsg"
)
}
}
})
})
}
}
...
...
app/src/main/java/com/ym/game/adapter/ClockInWithdrawAdpater.kt
View file @
7228c241
...
@@ -56,7 +56,7 @@ class ClockInWithdrawAdpater :
...
@@ -56,7 +56,7 @@ class ClockInWithdrawAdpater :
holder
.
item_title
.
text
=
Html
.
fromHtml
(
data
.
title
)
holder
.
item_title
.
text
=
Html
.
fromHtml
(
data
.
title
)
holder
.
item_desc
.
text
=
Html
.
fromHtml
(
data
.
endDesc
)
holder
.
item_desc
.
text
=
Html
.
fromHtml
(
data
.
endDesc
)
holder
.
item_cash_tv
.
text
=
data
.
cash
Str
+
"元"
;
holder
.
item_cash_tv
.
text
=
data
.
show
Str
+
"元"
;
holder
.
item_progress_tv
.
text
=
"${currentNum}/${data.needClockNum}"
holder
.
item_progress_tv
.
text
=
"${currentNum}/${data.needClockNum}"
holder
?.
item_progress_bar
.
max
=
data
?.
needClockNum
?:
10
holder
?.
item_progress_bar
.
max
=
data
?.
needClockNum
?:
10
holder
?.
item_progress_bar
.
progress
=
currentNum
?:
0
holder
?.
item_progress_bar
.
progress
=
currentNum
?:
0
...
...
app/version.properties
View file @
7228c241
PACKAGE_NAME
=
com.ym.xynt
PACKAGE_NAME
=
com.ym.xynt
VERSION_CODE
=
3
VERSION_CODE
=
4
VERSION_NAME
=
1.0.2
VERSION_NAME
=
1.0.3
\ No newline at end of file
\ No newline at end of file
library/src/main/java/com/ym/library/module/ClockInWithdrawEntity.kt
View file @
7228c241
...
@@ -21,6 +21,7 @@ class ClockInWithdrawEntity {
...
@@ -21,6 +21,7 @@ class ClockInWithdrawEntity {
var
currentNum
:
Int
?
=
0
//当前打卡数
var
currentNum
:
Int
?
=
0
//当前打卡数
var
cash
:
Int
?
=
0
//可提现金额 单位:分
var
cash
:
Int
?
=
0
//可提现金额 单位:分
var
cashStr
:
String
?
=
""
//可提现金额 字符串
var
cashStr
:
String
?
=
""
//可提现金额 字符串
var
showStr
:
String
?
=
""
//可提现金额 字符串
var
status
:
Int
?
=
0
//红包状态 1 已提现 2 可提现 0 未完成
var
status
:
Int
?
=
0
//红包状态 1 已提现 2 可提现 0 未完成
var
desc
:
String
?
=
""
//文案
var
desc
:
String
?
=
""
//文案
var
isToday
:
Int
?
=
0
//是否是今天 1是 0不是
var
isToday
:
Int
?
=
0
//是否是今天 1是 0不是
...
...
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