|
@@ -16,6 +16,7 @@ import com.sheep.gamegroup.util.ActivityManager;
|
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
import com.sheep.jiuyan.samllsheep.R;
|
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
import com.sheep.jiuyan.samllsheep.base.BaseActivity;
|
|
import com.sheep.jiuyan.samllsheep.base.BaseActivity;
|
|
|
|
|
+import com.sheep.jiuyan.samllsheep.utils.SpUtils;
|
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
|
|
|
|
|
|
import org.greenrobot.eventbus.EventBus;
|
|
import org.greenrobot.eventbus.EventBus;
|
|
@@ -56,7 +57,7 @@ public class WithdrawalResultAct extends BaseActivity implements WithdrawalResul
|
|
|
EventBus.getDefault().register(this);
|
|
EventBus.getDefault().register(this);
|
|
|
activity = this;
|
|
activity = this;
|
|
|
amount = getIntent().getStringExtra("amount");
|
|
amount = getIntent().getStringExtra("amount");
|
|
|
- withdrawalSuccessMoneyTv.setText("+"+amount+"元");
|
|
|
|
|
|
|
+ withdrawalSuccessMoneyTv.setText("+"+ SpUtils.getWithdral(activity) +"元");
|
|
|
TitleBarUtils.getInstance()
|
|
TitleBarUtils.getInstance()
|
|
|
.setTitle(activity, "提现成功")
|
|
.setTitle(activity, "提现成功")
|
|
|
.setTitleFinish(activity);
|
|
.setTitleFinish(activity);
|
|
@@ -99,6 +100,7 @@ public class WithdrawalResultAct extends BaseActivity implements WithdrawalResul
|
|
|
super.onDestroy();
|
|
super.onDestroy();
|
|
|
ActivityManager.getInstance().endActivity(WithdrawalAct.class);
|
|
ActivityManager.getInstance().endActivity(WithdrawalAct.class);
|
|
|
EventBus.getDefault().unregister(this);
|
|
EventBus.getDefault().unregister(this);
|
|
|
|
|
+ SpUtils.saveWithdral(activity,"");
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Subscribe
|
|
@Subscribe
|
|
@@ -106,7 +108,7 @@ public class WithdrawalResultAct extends BaseActivity implements WithdrawalResul
|
|
|
switch (event.getEventTypes()) {
|
|
switch (event.getEventTypes()) {
|
|
|
case INTENT_AMOUNT_VALUE:
|
|
case INTENT_AMOUNT_VALUE:
|
|
|
amount = event.getOthers() +"";
|
|
amount = event.getOthers() +"";
|
|
|
- withdrawalSuccessMoneyTv.setText("+"+amount+"元");
|
|
|
|
|
|
|
+// withdrawalSuccessMoneyTv.setText("+"+amount+"元");
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|