|
|
@@ -175,6 +175,9 @@ public class ActMyMoney extends BaseActivity {
|
|
|
}
|
|
|
|
|
|
private void loadData(UserAssets userAssets) {
|
|
|
+ if(my_money_total_money == null){
|
|
|
+ return;
|
|
|
+ }
|
|
|
my_money_total_money.setText(getString(R.string.total_money, userAssets.getSheep_bi_total()));
|
|
|
my_money_task_reward.setText(getString(R.string.task_reward, userAssets.getTask_reward()));
|
|
|
my_money_agent_extract.setText(getString(R.string.agent_extract, userAssets.getExtension_extract()));
|
|
|
@@ -183,6 +186,9 @@ public class ActMyMoney extends BaseActivity {
|
|
|
my_money_dingxiang_amount.setText(getString(R.string.dingxiang_amount, NumberFormatUtils.retainMost2(userAssets.getDirectional_currency())));
|
|
|
}
|
|
|
private void resetData() {
|
|
|
+ if(my_money_total_money == null){
|
|
|
+ return;
|
|
|
+ }
|
|
|
my_money_total_money.setText(getString(R.string.total_money, "0.00"));
|
|
|
my_money_task_reward.setText(getString(R.string.task_reward, "0.00"));
|
|
|
my_money_agent_extract.setText(getString(R.string.agent_extract, "0.00"));
|