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

62 lines
1.8 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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 androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import java.util.List;
import me.relex.circleindicator.CircleIndicator;
import o.C0390Fm;
import o.guQ;
/* loaded from: classes5.dex */
public class SmeLoanSelectorFragment extends Hilt_SmeLoanSelectorFragment {
public List<C0390Fm> c;
private RVV d;
@BindView
public CircleIndicator mCircleIndicator;
@BindView
public ViewPager mViewPager;
/* loaded from: classes5.dex */
public interface RVV {
void a(C0390Fm c0390Fm);
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559936, viewGroup, false);
ButterKnife.c(this, inflate);
return inflate;
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.scb.phone.view.fragment.loan.Hilt_SmeLoanSelectorFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
public void onAttach(Context context) {
super.onAttach(context);
if (context instanceof RVV) {
this.d = (RVV) context;
}
}
public final void d(int i) {
List<C0390Fm> list;
if (this.d == null || (list = this.c) == null) {
return;
}
C0390Fm c0390Fm = list.get(i);
if (c0390Fm != null) {
this.d.a(c0390Fm);
} else {
guQ.a("smeLoanDisplay is null", new Object[0]);
}
}
}