|
|
@@ -47,6 +47,7 @@ public class TopEntrapmentActivity extends AppActivity implements INRechargeChoo |
|
|
|
private INRechargeChoose inRechargeChoose; |
|
|
|
//选择的充值金额 |
|
|
|
private RechargeBean moneyInfo; |
|
|
|
private String inputValue; |
|
|
|
|
|
|
|
private ResultBean.BizContent rechargeOrder; //充值单 |
|
|
|
|
|
|
@@ -124,6 +125,7 @@ public class TopEntrapmentActivity extends AppActivity implements INRechargeChoo |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
public void chooseRechargeMoney(RechargeBean rechargeBean) { |
|
|
|
binding.etInputMoney.setText(""); |
|
|
|
this.moneyInfo = rechargeBean; |
|
|
|
showConfirmDialog(rechargeBean.payMoney); |
|
|
|
} |
|
|
@@ -404,10 +406,11 @@ public class TopEntrapmentActivity extends AppActivity implements INRechargeChoo |
|
|
|
@Override |
|
|
|
public void onTextChanged(CharSequence s, int start, int before, int count) { |
|
|
|
super.onTextChanged(s, start, before, count); |
|
|
|
if(!FunHelper.isEmpty(FunHelper.getText(binding.etInputMoney))){ |
|
|
|
if(!FunHelper.isEmpty(FunHelper.getText(binding.etInputMoney)) || !FunHelper.isEmpty(inputValue)){ |
|
|
|
moneyInfo = null; |
|
|
|
if(rechargeMoneyAdapter != null) rechargeMoneyAdapter.clearSelected(); |
|
|
|
} |
|
|
|
inputValue = FunHelper.getText(binding.etInputMoney); |
|
|
|
} |
|
|
|
}); |
|
|
|
|