what-the-bank/sources/com/scb/phone/view/fragment/investment/BaseInvestmentSwitchSuccess...

45 lines
1.5 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.investment;
import android.content.Context;
import android.view.View;
import android.widget.RelativeLayout;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.view.custom.common.CustomSwitchItem;
import com.scb.phone.view.custom.transferandpay.CustomTransferAndPayItem;
import o.OL;
/* loaded from: classes5.dex */
public class BaseInvestmentSwitchSuccessReviewFragment extends Hilt_BaseInvestmentSwitchSuccessReviewFragment {
@BindView
CustomTransferAndPayItem defaultFee;
@BindView
RelativeLayout effectiveDate;
@BindView
public CustomSwitchItem switchDate;
@BindView
CustomSwitchItem switchFee;
@Override // com.scb.phone.view.fragment.investment.BaseInvestmentSuccessReviewFragment
public final void c(OL ol, View view, Context context, String str) {
ButterKnife.c(this, view);
super.c(ol, view, context, str);
if (ol.k.equals("FUND_ACTION_SWITCH")) {
this.defaultFee.setVisibility(8);
this.effectiveDate.setVisibility(8);
this.switchDate.setVisibility(0);
this.switchDate.setSecondValue(ol.q);
this.switchDate.setSecondText(ol.s);
this.switchFee.setVisibility(0);
this.switchFee.setFirstValue(ol.l);
this.switchFee.setFirstText(ol.n);
this.switchFee.setSecondValue(ol.f);
this.switchFee.setSecondText(ol.i);
}
}
}