what-the-bank/sources/com/scb/phone/view/fragment/cardmanagement/AmortizationTotalAmountTabF...

70 lines
2.4 KiB
Java

package com.scb.phone.view.fragment.cardmanagement;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import com.scb.phone.view.adapter.cardmanagement.AmortizationTotalAmountItemsAdapter;
import com.scb.phone.view.fragment.BaseFragment;
import o.C14957gcv;
import o.GJ;
/* loaded from: classes5.dex */
public final class AmortizationTotalAmountTabFragment extends Hilt_AmortizationTotalAmountTabFragment {
public static final LWm d = new LWm(0);
@BindView
public RecyclerView rvItems;
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // androidx.fragment.app.Fragment
public final View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
C14957gcv.e(layoutInflater, "");
View inflate = layoutInflater.inflate(R.layout.2131559454, viewGroup, false);
((BaseFragment) this).a = ButterKnife.c(this, inflate);
return inflate;
}
@Override // com.scb.phone.view.fragment.cardmanagement.BaseAmortizationAmountTabFragment
public final void a(GJ gj) {
C14957gcv.e(gj, "");
RecyclerView recyclerView = this.rvItems;
RecyclerView recyclerView2 = null;
if (recyclerView == null) {
C14957gcv.a("");
recyclerView = null;
}
recyclerView.setNestedScrollingEnabled(false);
RecyclerView recyclerView3 = this.rvItems;
if (recyclerView3 == null) {
C14957gcv.a("");
recyclerView3 = null;
}
getContext();
recyclerView3.setLayoutManager(new LinearLayoutManager());
RecyclerView recyclerView4 = this.rvItems;
if (recyclerView4 != null) {
recyclerView2 = recyclerView4;
} else {
C14957gcv.a("");
}
AmortizationTotalAmountItemsAdapter amortizationTotalAmountItemsAdapter = new AmortizationTotalAmountItemsAdapter();
amortizationTotalAmountItemsAdapter.b = gj;
recyclerView2.setAdapter(amortizationTotalAmountItemsAdapter);
}
}