what-the-bank/sources/com/scb/phone/view/fragment/loan/SmeLoanStatusFragment.java

89 lines
2.8 KiB
Java

package com.scb.phone.view.fragment.loan;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.CustomHorizontalProgressBar;
import o.InterfaceC13391fZD;
import o.InterfaceC8943daQ;
import o.bPC;
import o.nMh;
/* loaded from: classes5.dex */
public class SmeLoanStatusFragment extends Hilt_SmeLoanStatusFragment implements InterfaceC8943daQ.HBt {
@BindView
public CustomHorizontalProgressBar mCustomProgressBarSmeLoanStatus;
@InterfaceC13391fZD
public bPC mPresenter;
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559937, viewGroup, false);
ButterKnife.c(this, inflate);
this.mPresenter.e((bPC) this);
return inflate;
}
@Override // o.InterfaceC8943daQ.HBt
public final void b(String str) {
this.mCustomProgressBarSmeLoanStatus.setUsedTitle(str);
}
@Override // o.InterfaceC8943daQ.HBt
public final void d(String str) {
this.mCustomProgressBarSmeLoanStatus.setUsedValue(str);
}
@Override // o.InterfaceC8943daQ.HBt
public final void a(int i) {
Context context = getContext();
if (context != null) {
this.mCustomProgressBarSmeLoanStatus.setUsedValueColor(nMh.getColor(context, i));
}
}
@Override // o.InterfaceC8943daQ.HBt
public final void e(String str) {
this.mCustomProgressBarSmeLoanStatus.setAvailableTitle(str);
}
@Override // o.InterfaceC8943daQ.HBt
public final void c(String str) {
this.mCustomProgressBarSmeLoanStatus.setAvailableValue(str);
}
@Override // o.InterfaceC8943daQ.HBt
public final void a(String str) {
this.mCustomProgressBarSmeLoanStatus.setTotalValueAllCaps(false);
this.mCustomProgressBarSmeLoanStatus.setTotalTitle("");
this.mCustomProgressBarSmeLoanStatus.setTotalValue(str);
}
@Override // o.InterfaceC8943daQ.HBt
public final void a() {
this.mCustomProgressBarSmeLoanStatus.mTotalContainerLinearLayout.setVisibility(0);
}
@Override // o.InterfaceC8943daQ.HBt
public final void b() {
this.mCustomProgressBarSmeLoanStatus.mTotalContainerLinearLayout.setVisibility(8);
}
@Override // o.InterfaceC8943daQ.HBt
public final void c(int i) {
this.mCustomProgressBarSmeLoanStatus.setProgressBar(i);
}
@Override // o.InterfaceC8943daQ.HBt
public final void b(int i) {
this.mCustomProgressBarSmeLoanStatus.setSecondaryProgressBar(i);
}
}