Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
L
LuckyFarm
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
Commits
fbadc28a
Commit
fbadc28a
authored
Nov 20, 2020
by
Li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[李俊岐] 优化
parent
fe06b34d
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
15 deletions
+17
-15
ClockInWithdrawActitivy.kt
...main/java/com/ym/game/activity/ClockInWithdrawActitivy.kt
+5
-5
CashExchangeAdapter.kt
app/src/main/java/com/ym/game/adapter/CashExchangeAdapter.kt
+5
-5
ClockInWithdrawAdpater.kt
...c/main/java/com/ym/game/adapter/ClockInWithdrawAdpater.kt
+2
-0
ExchangeEntity.kt
...ary/src/main/java/com/ym/library/module/ExchangeEntity.kt
+5
-5
No files found.
app/src/main/java/com/ym/game/activity/ClockInWithdrawActitivy.kt
View file @
fbadc28a
...
@@ -79,11 +79,11 @@ class ClockInWithdrawActitivy : BaseActivity(), ClockInWithdrawContract.View,
...
@@ -79,11 +79,11 @@ class ClockInWithdrawActitivy : BaseActivity(), ClockInWithdrawContract.View,
if
(
result
!=
null
)
{
if
(
result
!=
null
)
{
MainDialog
?.
showWithDraw
(
MainDialog
?.
showWithDraw
(
this
,
this
,
result
.
status
,
result
?.
status
?:
0
,
result
.
title
,
result
?.
title
?:
""
,
result
.
reason
,
result
?.
reason
?:
""
,
result
.
buttonText
,
result
?.
buttonText
?:
""
,
result
.
buttonStatus
,
result
?.
buttonStatus
?:
0
,
null
,
null
,
4
,
4
,
null
null
...
...
app/src/main/java/com/ym/game/adapter/CashExchangeAdapter.kt
View file @
fbadc28a
...
@@ -100,11 +100,11 @@ class CashExchangeAdapter :
...
@@ -100,11 +100,11 @@ class CashExchangeAdapter :
if
(
result
!=
null
)
{
if
(
result
!=
null
)
{
MainDialog
?.
showWithDraw
(
MainDialog
?.
showWithDraw
(
mContext
,
mContext
,
result
.
status
,
result
?.
status
?:
0
,
result
.
title
,
result
?.
title
?:
""
,
result
.
reason
,
result
?.
reason
?:
""
,
result
.
buttonText
,
result
?.
buttonText
?:
""
,
result
.
buttonStatus
,
result
?.
buttonStatus
?:
0
,
id
,
id
,
type
,
type
,
jine
jine
...
...
app/src/main/java/com/ym/game/adapter/ClockInWithdrawAdpater.kt
View file @
fbadc28a
...
@@ -182,6 +182,7 @@ class ClockInWithdrawAdpater :
...
@@ -182,6 +182,7 @@ class ClockInWithdrawAdpater :
//已完成打卡并已提现
//已完成打卡并已提现
holder
?.
layoutCenter
.
visibility
=
View
.
GONE
holder
?.
layoutCenter
.
visibility
=
View
.
GONE
holder
?.
tvMoney
?.
visibility
=
View
.
GONE
holder
?.
tvMoney
?.
visibility
=
View
.
GONE
holder
?.
tvMoneyRedPg
?.
visibility
=
View
.
VISIBLE
holder
?.
tvComplete
.
visibility
=
View
.
VISIBLE
holder
?.
tvComplete
.
visibility
=
View
.
VISIBLE
holder
?.
ivRightStatus
.
clearAnimation
()
holder
?.
ivRightStatus
.
clearAnimation
()
holder
.
ivRedPgStatus
.
clearAnimation
()
holder
.
ivRedPgStatus
.
clearAnimation
()
...
@@ -194,6 +195,7 @@ class ClockInWithdrawAdpater :
...
@@ -194,6 +195,7 @@ class ClockInWithdrawAdpater :
holder
?.
tvMoney
?.
visibility
=
View
.
VISIBLE
holder
?.
tvMoney
?.
visibility
=
View
.
VISIBLE
holder
?.
tvComplete
.
visibility
=
View
.
GONE
holder
?.
tvComplete
.
visibility
=
View
.
GONE
holder
?.
layoutProgress
.
visibility
=
View
.
GONE
holder
?.
layoutProgress
.
visibility
=
View
.
GONE
holder
?.
tvMoneyRedPg
?.
visibility
=
View
.
VISIBLE
holder
?.
ivRightStatus
.
clearAnimation
()
holder
?.
ivRightStatus
.
clearAnimation
()
holder
.
ivRedPgStatus
.
clearAnimation
()
holder
.
ivRedPgStatus
.
clearAnimation
()
holder
?.
ivRedPgStatus
?.
setImageResource
(
R
.
drawable
.
icon_clock_in_item_red_pg_coin_uncomplete
)
holder
?.
ivRedPgStatus
?.
setImageResource
(
R
.
drawable
.
icon_clock_in_item_red_pg_coin_uncomplete
)
...
...
library/src/main/java/com/ym/library/module/ExchangeEntity.kt
View file @
fbadc28a
...
@@ -2,9 +2,9 @@ package com.ym.library.module
...
@@ -2,9 +2,9 @@ package com.ym.library.module
class
ExchangeEntity
{
class
ExchangeEntity
{
var
status
:
Int
=
0
var
status
:
Int
?
=
0
var
reason
:
String
=
""
var
reason
:
String
?
=
""
var
buttonText
:
String
=
""
var
buttonText
:
String
?
=
""
var
buttonStatus
:
Int
=
0
var
buttonStatus
:
Int
?
=
0
var
title
:
String
=
""
var
title
:
String
?
=
""
}
}
\ No newline at end of file
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