|
@@ -12,6 +12,7 @@ import com.sheep.gamegroup.di.modules.WithdrawalResultModule;
|
|
|
import com.sheep.gamegroup.presenter.WithdrawalResultContract;
|
|
import com.sheep.gamegroup.presenter.WithdrawalResultContract;
|
|
|
import com.sheep.gamegroup.presenter.WithdrawalResultPresenter;
|
|
import com.sheep.gamegroup.presenter.WithdrawalResultPresenter;
|
|
|
import com.sheep.gamegroup.util.GlideImageLoader;
|
|
import com.sheep.gamegroup.util.GlideImageLoader;
|
|
|
|
|
+import com.sheep.gamegroup.util.LogUtil;
|
|
|
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.utils.TitleBarUtils;
|
|
import com.sheep.jiuyan.samllsheep.utils.TitleBarUtils;
|
|
@@ -41,6 +42,7 @@ public class WithdrawalResultAct extends BaseActivity implements WithdrawalResul
|
|
|
TextView withdrawalSuccessMoneyTv;
|
|
TextView withdrawalSuccessMoneyTv;
|
|
|
|
|
|
|
|
private float amount;
|
|
private float amount;
|
|
|
|
|
+ private boolean status;
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
protected int getLayoutId() {
|
|
protected int getLayoutId() {
|
|
@@ -52,10 +54,12 @@ public class WithdrawalResultAct extends BaseActivity implements WithdrawalResul
|
|
|
GlideImageLoader.setImage(withdrawal_image_iv, "http://cdngame.kuaifazs.com/yellow_yang.png");
|
|
GlideImageLoader.setImage(withdrawal_image_iv, "http://cdngame.kuaifazs.com/yellow_yang.png");
|
|
|
activity = this;
|
|
activity = this;
|
|
|
amount = getIntent().getFloatExtra(Float.class.getSimpleName(), 0);
|
|
amount = getIntent().getFloatExtra(Float.class.getSimpleName(), 0);
|
|
|
|
|
+ status = getIntent().getBooleanExtra(Boolean.class.getSimpleName(), false);
|
|
|
withdrawalSuccessMoneyTv.setText(String.format(Locale.CHINA, "+%.1f元", amount));
|
|
withdrawalSuccessMoneyTv.setText(String.format(Locale.CHINA, "+%.1f元", amount));
|
|
|
|
|
+ LogUtil.logE("----------------" + status + " : " + amount + "---------------");
|
|
|
TitleBarUtils.getInstance()
|
|
TitleBarUtils.getInstance()
|
|
|
.setShowOrHide(this, true)
|
|
.setShowOrHide(this, true)
|
|
|
- .setTitle(activity, "提现审核中")
|
|
|
|
|
|
|
+ .setTitle(activity, status ? "提现成功" : "提现审核中")
|
|
|
.setTitleFinish(activity);
|
|
.setTitleFinish(activity);
|
|
|
DaggerWithdrawalResultComponent.builder()
|
|
DaggerWithdrawalResultComponent.builder()
|
|
|
.netComponent(SheepApp.getInstance().getNetComponent())
|
|
.netComponent(SheepApp.getInstance().getNetComponent())
|