Commit fbadc28a authored by Li's avatar Li

[李俊岐] 优化

parent fe06b34d
...@@ -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
......
...@@ -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
......
...@@ -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)
......
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment