正在查看: Easycash v3.75.13 应用的 CurrentOrFutureFixedOrderDetailActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
正在查看: Easycash v3.75.13 应用的 CurrentOrFutureFixedOrderDetailActivity.java JAVA 源代码文件
本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。
package com.fintopia.lender.module.orders;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.res.Resources;
import android.net.Uri;
import android.os.Bundle;
import android.text.TextUtils;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.constraintlayout.widget.ConstraintLayout;
import butterknife.BindView;
import butterknife.OnClick;
import com.fintopia.lender.R;
import com.fintopia.lender.module.baseui.LenderCommonActivity;
import com.fintopia.lender.module.launch.AppGeneralConfigUtils;
import com.fintopia.lender.module.launch.model.LenderConfigKey;
import com.fintopia.lender.module.lend.model.ExpectedEarningsResponse;
import com.fintopia.lender.module.maintab.model.ProductsBean;
import com.fintopia.lender.module.network.ILenderApiRoutes;
import com.fintopia.lender.module.orders.dialog.TransferTypeSelectDialog;
import com.fintopia.lender.module.orders.event.OrderBeanChangedEvent;
import com.fintopia.lender.module.orders.models.AutoDebtDetailsResponse;
import com.fintopia.lender.module.orders.models.AutoReinvestReward;
import com.fintopia.lender.module.orders.models.OrderBean;
import com.fintopia.lender.module.orders.models.OrderDetailResponse;
import com.fintopia.lender.module.orders.models.OrderStatusType;
import com.fintopia.lender.module.orders.models.TransferType;
import com.fintopia.lender.module.traderecord.model.TransactionType;
import com.fintopia.lender.module.utils.AutoReinvestUtil;
import com.fintopia.lender.module.webpage.LenderWebViewActivity;
import com.fintopia.lender.widget.ExpectTotalEarningsView;
import com.fintopia.lender.widget.LenderSingleButtonDialog;
import com.fintopia.lender.widget.OrderLendAmountView;
import com.fintopia.lender.widget.OrderRestructureDetailView;
import com.fintopia.lender.widget.OrderTermDetailView;
import com.fintopia.lender.widget.RedeemedAmountView;
import com.lingyue.idnbaselib.framework.lifecycle.LifecycleEvent;
import com.lingyue.idnbaselib.model.IdnObserver;
import com.lingyue.idnbaselib.model.response.BooleanResponse;
import com.lingyue.idnbaselib.utils.EcFormatUtil;
import com.lingyue.idnbaselib.utils.JsonParamsBuilder;
import com.lingyue.idnbaselib.utils.ThirdPartEventUtils;
import com.lingyue.supertoolkit.customtools.CollectionUtils;
import com.lingyue.supertoolkit.customtools.ScreenUtils;
import com.lingyue.supertoolkit.widgets.BaseUtils;
import com.sensorsdata.analytics.android.autotrack.aop.SensorsDataAutoTrackHelper;
import com.sensorsdata.analytics.android.sdk.SensorsDataInstrumented;
import com.veda.android.bananalibrary.infrastructure.BaseActivity;
import com.yangqianguan.statistics.AutoTrackHelper;
import io.reactivex.disposables.Disposable;
import java.math.BigDecimal;
import java.util.HashMap;
import org.greenrobot.eventbus.EventBus;
public class CurrentOrFutureFixedOrderDetailActivity extends LenderCommonActivity {
public static final String INTENT_KEY_TRADE_TYPE = "trade_type";
@BindView(4768)
ConstraintLayout clLendingMatchTime;
@BindView(4769)
ConstraintLayout clLendingTime;
@BindView(4777)
ConstraintLayout clOutstandingPrincipal;
@BindView(4779)
ConstraintLayout clPaybackTime;
@BindView(4784)
ConstraintLayout clReservationInvestTime;
@BindView(4786)
ConstraintLayout clStartBearingTime;
@BindView(4788)
ConstraintLayout clTransferType;
@BindView(4906)
ExpectTotalEarningsView expectTotalEarningsView;
@BindView(5010)
ImageView ivArrowTaxRateDetail;
@BindView(5050)
ImageView ivProductNameTips;
@BindView(5277)
OrderLendAmountView olvLendingAmount;
@BindView(5285)
OrderRestructureDetailView ordvOrderRestructureDetail;
@BindView(5286)
OrderTermDetailView otdvOrderTermDetail;
@BindView(5319)
RedeemedAmountView redeemedAmountView;
@BindView(5330)
RelativeLayout rlBorrowerDetail;
@BindView(5348)
RelativeLayout rlTaxRate;
@BindView(5586)
TextView tvAutoReinvestRewardTip;
@BindView(5704)
TextView tvLendingMatchTime;
@BindView(5709)
TextView tvLendingTime;
@BindView(5784)
TextView tvOutstandingPrincipalAmount;
@BindView(5793)
TextView tvPaybackTime;
@BindView(5794)
TextView tvPaybackTimeTitle;
@BindView(5809)
TextView tvProductName;
@BindView(5810)
TextView tvProductReturn;
@BindView(5825)
TextView tvReduceTaxEntrance;
@BindView(5835)
TextView tvReservationInvestTime;
@BindView(5865)
TextView tvStartBearingTime;
@BindView(5879)
TextView tvTaxRateAmount;
@BindView(5910)
TextView tvTransferType;
private TransactionType f104u;
private OrderBean f105v;
private boolean f106w;
private void X() {
if (this.f105v.productConfig.isDebtProduct()) {
this.rlBorrowerDetail.setVisibility(0);
this.clPaybackTime.setVisibility(8);
} else {
this.rlBorrowerDetail.setVisibility(8);
this.clPaybackTime.setVisibility(0);
this.tvPaybackTimeTitle.setText(getString(this.f106w ? R.string.lender_predict_payback_time : R.string.lender_payback_time));
this.tvPaybackTime.setText(EcFormatUtil.d(Long.valueOf(this.f105v.timeCompletedAfter)));
}
}
private void Y() {
ExpectTotalEarningsView expectTotalEarningsView = this.expectTotalEarningsView;
OrderBean orderBean = this.f105v;
expectTotalEarningsView.b(orderBean.expectedEarnings, orderBean, new ExpectTotalEarningsView.Delegate() {
@Override
public final void a() {
CurrentOrFutureFixedOrderDetailActivity.this.f0();
}
});
}
private void Z() {
OrderBean orderBean = this.f105v;
if (orderBean.status == OrderStatusType.INIT) {
this.otdvOrderTermDetail.setVisibility(8);
} else {
this.otdvOrderTermDetail.b(orderBean);
this.otdvOrderTermDetail.setVisibility(0);
}
}
private void a0() {
if (this.f106w) {
this.clReservationInvestTime.setVisibility(0);
this.tvReservationInvestTime.setText(EcFormatUtil.d(Long.valueOf(this.f105v.timeReservation)));
this.clStartBearingTime.setVisibility(0);
this.tvStartBearingTime.setText(EcFormatUtil.d(Long.valueOf(this.f105v.timeCalEarnings)));
this.clLendingTime.setVisibility(8);
this.clLendingMatchTime.setVisibility(8);
return;
}
this.clReservationInvestTime.setVisibility(8);
this.clStartBearingTime.setVisibility(8);
this.clLendingTime.setVisibility(0);
this.tvLendingTime.setText(EcFormatUtil.d(Long.valueOf(this.f105v.productConfig.isDebtProduct() ? this.f105v.timeInvest : this.f105v.timeCreated)));
this.clLendingMatchTime.setVisibility((!this.f105v.productConfig.isDebtProduct() || this.f105v.debtMatchCompleteTime <= 0) ? 8 : 0);
this.tvLendingMatchTime.setText(EcFormatUtil.d(Long.valueOf(this.f105v.debtMatchCompleteTime)));
}
private void b0() {
this.tvTaxRateAmount.setText(EcFormatUtil.q(this.f105v.taxRate));
RelativeLayout.LayoutParams layoutParams = (RelativeLayout.LayoutParams) this.tvTaxRateAmount.getLayoutParams();
Resources resources = this.tvTaxRateAmount.getContext().getResources();
if (this.f105v.taxRate.compareTo(new BigDecimal("0.15")) > 0) {
this.tvTaxRateAmount.setTextColor(resources.getColor(R.color.c_base_blue));
layoutParams.addRule(11, 0);
layoutParams.addRule(0, R.id.tv_reduce_tax_entrance);
layoutParams.rightMargin = ScreenUtils.a(this, 3);
this.tvTaxRateAmount.setLayoutParams(layoutParams);
this.tvReduceTaxEntrance.setVisibility(0);
this.ivArrowTaxRateDetail.setVisibility(0);
return;
}
this.tvTaxRateAmount.setTextColor(resources.getColor(R.color.c_base_black));
layoutParams.addRule(11);
layoutParams.addRule(0, R.id.tv_tax_rate_amount);
layoutParams.rightMargin = ScreenUtils.a(this, 48);
this.tvTaxRateAmount.setLayoutParams(layoutParams);
this.tvReduceTaxEntrance.setVisibility(8);
this.ivArrowTaxRateDetail.setVisibility(0);
}
private void c0() {
TransactionType transactionType = this.f104u;
if (transactionType == null || transactionType == TransactionType.UNKNOWN || transactionType == TransactionType.INVEST) {
setTitle(getString(R.string.lender_order_detail));
} else if (transactionType == TransactionType.REDEEM) {
setTitle(getString(R.string.lender_redemption_details));
}
}
public void d0() {
if (this.f105v.isRewardPrincipal() || !this.f105v.isAllowAutoAllocate() || this.f105v.transferType == null) {
this.clTransferType.setVisibility(8);
return;
}
this.clTransferType.setVisibility(0);
OrderBean orderBean = this.f105v;
AutoReinvestReward autoReinvestReward = orderBean.autoReinvestReward;
BigDecimal bigDecimal = autoReinvestReward != null ? autoReinvestReward.annualRate : null;
this.tvTransferType.setText(orderBean.transferType.descResId);
if (this.f105v.transferType != TransferType.REDEEM || bigDecimal == null || bigDecimal.compareTo(BigDecimal.ZERO) <= 0) {
this.tvAutoReinvestRewardTip.setVisibility(8);
} else {
this.tvAutoReinvestRewardTip.setVisibility(0);
this.tvAutoReinvestRewardTip.setText(AutoReinvestUtil.c(this, bigDecimal));
}
}
@SensorsDataInstrumented
public static void e0(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
SensorsDataAutoTrackHelper.trackDialog(dialogInterface, i);
AutoTrackHelper.trackViewOnClick(dialogInterface, i);
}
public void f0() {
LenderSingleButtonDialog.d(this).h(3).f(R.string.lender_total_earning_dialog_content).e(R.string.lender_ok).k("dialog_expect_total_earnings_tip_in_detail").i(new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
CurrentOrFutureFixedOrderDetailActivity.e0(dialogInterface, i);
}
}).show();
}
@SensorsDataInstrumented
public static void g0(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
SensorsDataAutoTrackHelper.trackDialog(dialogInterface, i);
AutoTrackHelper.trackViewOnClick(dialogInterface, i);
}
@SensorsDataInstrumented
public static void h0(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
SensorsDataAutoTrackHelper.trackDialog(dialogInterface, i);
AutoTrackHelper.trackViewOnClick(dialogInterface, i);
}
@SensorsDataInstrumented
public static void i0(DialogInterface dialogInterface, int i) {
dialogInterface.dismiss();
SensorsDataAutoTrackHelper.trackDialog(dialogInterface, i);
AutoTrackHelper.trackViewOnClick(dialogInterface, i);
}
@SensorsDataInstrumented
public void j0(AutoDebtDetailsResponse autoDebtDetailsResponse, View view) {
if (BaseUtils.l()) {
SensorsDataAutoTrackHelper.trackViewOnClick(view);
AutoTrackHelper.trackViewOnClick(view);
} else {
LenderSingleButtonDialog.d(this).h(3).g(autoDebtDetailsResponse.body.promptMessage).e(R.string.lender_ok).k("dialog_product_name_tips_in_detail").i(new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
CurrentOrFutureFixedOrderDetailActivity.i0(dialogInterface, i);
}
}).show();
ThirdPartEventUtils.D(this, "ec_productdetailtip_click", (String) null);
SensorsDataAutoTrackHelper.trackViewOnClick(view);
AutoTrackHelper.trackViewOnClick(view);
}
}
public void k0(TransferType transferType) {
if (transferType != this.f105v.transferType) {
r0(transferType);
}
}
private void l0() {
showLoadingDialog();
ILenderApiRoutes iLenderApiRoutes = (ILenderApiRoutes) this.apiHelper.a();
String bigDecimal = this.f105v.principal.toString();
OrderBean orderBean = this.f105v;
iLenderApiRoutes.O(bigDecimal, orderBean.productId, orderBean.couponId, TransferType.REINVEST.name(), this.f105v.id).a(new IdnObserver<ExpectedEarningsResponse>(this) {
public void onError(Throwable th, ExpectedEarningsResponse expectedEarningsResponse) {
CurrentOrFutureFixedOrderDetailActivity.this.t0(null);
CurrentOrFutureFixedOrderDetailActivity.this.dismissLoadingDialog();
}
public void onSuccess(ExpectedEarningsResponse expectedEarningsResponse) {
CurrentOrFutureFixedOrderDetailActivity.this.t0(expectedEarningsResponse.body.expectedEarningsForNextOrder);
CurrentOrFutureFixedOrderDetailActivity.this.dismissLoadingDialog();
}
});
}
public void m0(final AutoDebtDetailsResponse autoDebtDetailsResponse) {
if (TextUtils.isEmpty(autoDebtDetailsResponse.body.promptMessage)) {
this.ivProductNameTips.setVisibility(8);
} else {
this.ivProductNameTips.setVisibility(0);
this.ivProductNameTips.setOnClickListener(new View.OnClickListener() {
@Override
public final void onClick(View view) {
CurrentOrFutureFixedOrderDetailActivity.this.j0(autoDebtDetailsResponse, view);
}
});
}
}
private void n0() {
BigDecimal bigDecimal = this.f105v.outstandingPrincipal;
if (bigDecimal == null || BigDecimal.ZERO.compareTo(bigDecimal) == 0) {
this.clOutstandingPrincipal.setVisibility(8);
} else {
this.clOutstandingPrincipal.setVisibility(0);
this.tvOutstandingPrincipalAmount.setText(EcFormatUtil.i(this.f105v.outstandingPrincipal));
}
}
private void o0() {
if (this.f105v.redeem == null) {
this.redeemedAmountView.setVisibility(8);
} else {
this.redeemedAmountView.setVisibility(0);
this.redeemedAmountView.b(this.f105v.redeem, new RedeemedAmountView.Delegate() {
@Override
public final void a() {
CurrentOrFutureFixedOrderDetailActivity.this.onRedeemAmountTipsClicked();
}
});
}
}
private void p0() {
if (!this.f105v.isRestructureOrder()) {
this.ordvOrderRestructureDetail.setVisibility(8);
} else {
this.ordvOrderRestructureDetail.b(this.f105v);
this.ordvOrderRestructureDetail.setVisibility(0);
}
}
private void q0() {
showLoadingDialog();
((ILenderApiRoutes) this.apiHelper.a()).R(this.f105v.id).a(new IdnObserver<AutoDebtDetailsResponse>(this) {
public void onSuccess(AutoDebtDetailsResponse autoDebtDetailsResponse) {
CurrentOrFutureFixedOrderDetailActivity.this.m0(autoDebtDetailsResponse);
if (!CollectionUtils.f(autoDebtDetailsResponse.body.debtMatchDetails) && CurrentOrFutureFixedOrderDetailActivity.this.f105v.status != OrderStatusType.INIT) {
CurrentOrFutureFixedOrderDetailActivity currentOrFutureFixedOrderDetailActivity = CurrentOrFutureFixedOrderDetailActivity.this;
currentOrFutureFixedOrderDetailActivity.otdvOrderTermDetail.e(currentOrFutureFixedOrderDetailActivity, autoDebtDetailsResponse.body.debtMatchDetails);
}
CurrentOrFutureFixedOrderDetailActivity.this.dismissLoadingDialog();
}
});
}
private void r0(final TransferType transferType) {
showLoadingDialog();
HashMap hashMap = new HashMap(1);
hashMap.put("transferType", transferType.name());
((ILenderApiRoutes) this.apiHelper.a()).C0(this.f105v.id, hashMap).a(new IdnObserver<BooleanResponse>(this) {
public void onSuccess(BooleanResponse booleanResponse) {
CurrentOrFutureFixedOrderDetailActivity.this.s0(transferType);
}
});
}
public void s0(final TransferType transferType) {
((ILenderApiRoutes) this.apiHelper.a()).S0(this.f105v.id).a(new IdnObserver<OrderDetailResponse>(this) {
public void onError(Throwable th, OrderDetailResponse orderDetailResponse) {
super.onError(th, orderDetailResponse);
CurrentOrFutureFixedOrderDetailActivity.this.f105v.transferType = transferType;
CurrentOrFutureFixedOrderDetailActivity.this.d0();
EventBus.c().k(new OrderBeanChangedEvent(CurrentOrFutureFixedOrderDetailActivity.this.f105v));
}
public void onSuccess(OrderDetailResponse orderDetailResponse) {
CurrentOrFutureFixedOrderDetailActivity.this.dismissLoadingDialog();
CurrentOrFutureFixedOrderDetailActivity.this.f105v = orderDetailResponse.body;
CurrentOrFutureFixedOrderDetailActivity.this.w();
EventBus.c().k(new OrderBeanChangedEvent(orderDetailResponse.body));
}
});
}
public static void startCurrentFixedOrderDetailActivity(Activity activity, OrderBean orderBean, boolean z) {
startCurrentFixedOrderDetailActivity(activity, TransactionType.UNKNOWN, orderBean, z);
}
public void t0(BigDecimal bigDecimal) {
OrderBean orderBean = this.f105v;
TransferType transferType = orderBean.transferType;
AutoReinvestReward autoReinvestReward = orderBean.autoReinvestReward;
TransferTypeSelectDialog transferTypeSelectDialog = new TransferTypeSelectDialog(this, transferType, autoReinvestReward != null ? autoReinvestReward.annualRate : null, bigDecimal);
transferTypeSelectDialog.g(new TransferTypeSelectDialog.Listener() {
@Override
public final void a(TransferType transferType2) {
CurrentOrFutureFixedOrderDetailActivity.this.k0(transferType2);
}
});
transferTypeSelectDialog.show();
}
@Override
protected void G(@NonNull Bundle bundle) {
bundle.putSerializable("trade_type", this.f104u);
bundle.putSerializable("order_bean", this.f105v);
bundle.putBoolean("is_future", this.f106w);
}
@Override
public int getLayoutID() {
return R.layout.lender_activity_current_or_future_fixed_order_detail;
}
@OnClick({5330})
public void onBorrowerDetailClicked(View view) {
if (BaseUtils.l()) {
return;
}
LenderWebViewActivity.startWebActivity(u(), Uri.parse(((BaseActivity) this).appGlobal.a.a().toString()).buildUpon().path(this.f105v.productConfig.isManualDebtProduct() ? "webview/borrower-detail" : this.f105v.productConfig.isAutoDebtProduct() ? "webview/auto-borrower-detail" : "").appendQueryParameter("orderId", this.f105v.id).build().toString());
ThirdPartEventUtils.z(this, "lender_borrower_detail_click", new JsonParamsBuilder().d("id").a(String.valueOf(this.f105v.id)).c());
}
@OnClick({5046})
public void onClickOutstandingPrincipal() {
if (BaseUtils.l()) {
return;
}
LenderSingleButtonDialog.d(this).h(17).f(R.string.lender_outstanding_amount_tips).e(R.string.lender_ok).k("dialog_outstanding_amount_tips_in_detail").i(new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
CurrentOrFutureFixedOrderDetailActivity.g0(dialogInterface, i);
}
}).show();
}
public void onRedeemAmountTipsClicked() {
if (BaseUtils.l()) {
return;
}
LenderSingleButtonDialog.d(this).h(3).f(R.string.lender_redeem_amount_tips).e(R.string.lender_ok).k("dialog_redeem_amount_tips_in_detail").i(new DialogInterface.OnClickListener() {
@Override
public final void onClick(DialogInterface dialogInterface, int i) {
CurrentOrFutureFixedOrderDetailActivity.h0(dialogInterface, i);
}
}).show();
}
@OnClick({5348})
public void onTaxRateClicked(View view) {
if (BaseUtils.l()) {
return;
}
if (this.f105v.taxRate.compareTo(new BigDecimal("0.15")) <= 0) {
LenderWebViewActivity.startWebActivity(this, ((BaseActivity) this).appGlobal.a.a() + "/webview/associate-npwp?reqSpeBar=1&isAppBarHid=1");
return;
}
String str = ((BaseActivity) this).appGlobal.a.a() + "/webview/upload-npwp";
String str2 = (String) AppGeneralConfigUtils.o().d(LenderConfigKey.NIK_NPWP_SYNC_URL);
if (!TextUtils.isEmpty(str2)) {
str = str2;
}
LenderWebViewActivity.startWebActivity(this, str);
}
@OnClick({4788})
public void onTransferTypeClicked(View view) {
if (BaseUtils.l()) {
return;
}
l0();
}
@Override
public Disposable runOnActiveEvent(Runnable runnable) {
return com.lingyue.idnbaselib.framework.lifecycle.m.a(this, runnable);
}
@Override
@SuppressLint({"CheckResult"})
public Disposable runOnCreated(@NonNull Runnable runnable) {
return com.lingyue.idnbaselib.framework.lifecycle.m.b(this, runnable);
}
@Override
@SuppressLint({"CheckResult"})
public Disposable runOnDestroy(@NonNull Runnable runnable) {
return com.lingyue.idnbaselib.framework.lifecycle.m.c(this, runnable);
}
@Override
@SuppressLint({"CheckResult"})
public Disposable runOnEvent(@NonNull LifecycleEvent lifecycleEvent, @Nullable Runnable runnable) {
return com.lingyue.idnbaselib.framework.lifecycle.m.d(this, lifecycleEvent, runnable);
}
@Override
public Disposable runOnEvents(@NonNull LifecycleEvent[] lifecycleEventArr, @Nullable Runnable runnable) {
return com.lingyue.idnbaselib.framework.lifecycle.m.e(this, lifecycleEventArr, runnable);
}
@Override
protected void w() {
super.w();
c0();
this.tvProductName.setText("・" + this.f105v.productConfig.name);
d0();
OrderLendAmountView orderLendAmountView = this.olvLendingAmount;
OrderBean orderBean = this.f105v;
orderLendAmountView.b(orderBean.principal, orderBean.actualPrincipal, orderBean.coupon);
Z();
TextView textView = this.tvProductReturn;
ProductsBean productsBean = this.f105v.productConfig;
textView.setText(EcFormatUtil.q(Double.valueOf(productsBean.displayBasicRate + productsBean.displayFloatRate)));
Y();
b0();
a0();
X();
o0();
n0();
p0();
if (this.f105v.productConfig.isAutoDebtProduct()) {
q0();
}
}
@Override
protected void y(@NonNull Bundle bundle) {
this.f104u = (TransactionType) bundle.getSerializable("trade_type");
this.f105v = (OrderBean) bundle.getSerializable("order_bean");
this.f106w = bundle.getBoolean("is_future");
}
public static void startCurrentFixedOrderDetailActivity(Activity activity, TransactionType transactionType, OrderBean orderBean, boolean z) {
Intent intent = new Intent(activity, (Class<?>) CurrentOrFutureFixedOrderDetailActivity.class);
intent.putExtra("trade_type", transactionType);
intent.putExtra("order_bean", orderBean);
intent.putExtra("is_future", z);
activity.startActivity(intent);
}
}