|
|
@@ -364,8 +364,8 @@ public class TryMakeMoneyAdp extends AdpCommonRecy<RecyleObj> {
|
|
|
/**
|
|
|
* 倒计时
|
|
|
*/
|
|
|
+ final TextView countdown_tv = viewHolder.itemView.findViewById(R.id.countdown_tv);
|
|
|
if(etyList.get(i).getEnd_time() > 0){
|
|
|
- final TextView countdown_tv = viewHolder.itemView.findViewById(R.id.countdown_tv);
|
|
|
SelfCountDownTimer scTimer = timerHashMap.get(countdown_tv);
|
|
|
if(scTimer != null){
|
|
|
scTimer.cancel();
|
|
|
@@ -397,6 +397,8 @@ public class TryMakeMoneyAdp extends AdpCommonRecy<RecyleObj> {
|
|
|
selfCountDownTimer.reset(etyList.get(i).getRelease_task().getCancel_duration());
|
|
|
selfCountDownTimer.start();
|
|
|
timerHashMap.put(countdown_tv, selfCountDownTimer);
|
|
|
+ }else {
|
|
|
+ countdown_tv.setVisibility(View.GONE);
|
|
|
}
|
|
|
|
|
|
}
|