Commit fe06b34d authored by Li's avatar Li

[李俊岐] 优化

parent 2c755949
......@@ -166,6 +166,7 @@ class ClockInWithdrawAdpater :
holder?.ivRedPgStatus?.setImageResource(R.drawable.icon_clock_in_item_red_pg_coin)
//完成任务 未领取
if (data.status == 1) {
startAnimator(holder.layoutRedPg)
} else {
......@@ -173,6 +174,10 @@ class ClockInWithdrawAdpater :
}
holder?.ivRightStatus.clearAnimation()
holder?.tvProgress.text = "${data?.currentNum}/${data?.targetNum}"
holder?.progressBar.max = data?.targetNum ?: 10
holder?.progressBar.progress = data?.currentNum ?: 0
} else if (data.status == 6) {
//已完成打卡并已提现
holder?.layoutCenter.visibility = View.GONE
......
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