|
@@ -13,6 +13,7 @@ import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.kfzs.duanduan.event.BigEvent;
|
|
import com.kfzs.duanduan.event.BigEvent;
|
|
|
import com.kfzs.duanduan.event.EventTypes;
|
|
import com.kfzs.duanduan.event.EventTypes;
|
|
|
|
|
+import com.kfzs.duanduan.utils.dlg.FormatAny;
|
|
|
import com.sheep.gamegroup.di.components.DaggerWithdrawalComponent;
|
|
import com.sheep.gamegroup.di.components.DaggerWithdrawalComponent;
|
|
|
import com.sheep.gamegroup.di.modules.WithdrawalModule;
|
|
import com.sheep.gamegroup.di.modules.WithdrawalModule;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
@@ -135,8 +136,7 @@ public class WithdrawalAct extends BaseActivity implements WithdrawalContract.Vi
|
|
|
e.printStackTrace();
|
|
e.printStackTrace();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- String sr = "可提现金额<font color='#ff2d4b'><small>" + balanceAmount + "</small></font>元";
|
|
|
|
|
- withdrawal_click_bindname_tv.setText(Html.fromHtml(sr));
|
|
|
|
|
|
|
+ setBalanceAmount();
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -227,8 +227,12 @@ public class WithdrawalAct extends BaseActivity implements WithdrawalContract.Vi
|
|
|
hideProgress();
|
|
hideProgress();
|
|
|
String balanceA = o.getData() +"";
|
|
String balanceA = o.getData() +"";
|
|
|
balanceAmount = TextUtils.isEmpty(balanceA)?"0":balanceA;
|
|
balanceAmount = TextUtils.isEmpty(balanceA)?"0":balanceA;
|
|
|
|
|
+ setBalanceAmount();
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ private void setBalanceAmount(){
|
|
|
|
|
|
|
|
- String sr = "可提现金额 <font color='#ff2d4b'><big>" + balanceAmount + "</big></font> 元";
|
|
|
|
|
|
|
+ String sr = "可提现金额 <font color='#ff2d4b'><big>" + FormatAny.getInstance().formatString(balanceAmount) + "</big></font> 元";
|
|
|
withdrawal_click_bindname_tv.setText(Html.fromHtml(sr));
|
|
withdrawal_click_bindname_tv.setText(Html.fromHtml(sr));
|
|
|
}
|
|
}
|
|
|
|
|
|