what-the-bank/sources/com/scb/phone/view/fragment/prepaid/cashout/PrepaidCashOutLandingAndInp...

105 lines
3.0 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.prepaid.cashout;
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 java.util.ArrayList;
import o.C10383eCj;
import o.C1066Uw;
import o.C11627eis;
import o.C14957gcv;
/* loaded from: classes5.dex */
public final class PrepaidCashOutLandingAndInputToAccountFragment extends Hilt_PrepaidCashOutLandingAndInputToAccountFragment implements C11627eis.LWm {
public static final IeS c = new IeS(0);
private C11627eis d;
private Sts i;
private ArrayList<C1066Uw> j;
@BindView
public RecyclerView mRecyclerView;
/* loaded from: classes5.dex */
public interface Sts {
void c(C1066Uw c1066Uw);
void f();
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(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.2131559824, viewGroup, false);
ButterKnife.c(this, inflate);
Bundle arguments = getArguments();
C11627eis c11627eis = null;
Object obj = arguments != null ? arguments.get("EXTRA_ACCOUNT_SOURCE_DISPLAY_LIST") : null;
C14957gcv.d(obj, "");
this.j = (ArrayList) obj;
RecyclerView recyclerView = this.mRecyclerView;
if (recyclerView == null) {
C14957gcv.a("");
recyclerView = null;
}
getActivity();
recyclerView.setLayoutManager(new LinearLayoutManager(1, false));
recyclerView.d(new C10383eCj(), -1);
ArrayList<C1066Uw> arrayList = this.j;
if (arrayList == null) {
C14957gcv.a("");
arrayList = null;
}
this.d = new C11627eis(arrayList, this);
RecyclerView recyclerView2 = this.mRecyclerView;
if (recyclerView2 == null) {
C14957gcv.a("");
recyclerView2 = null;
}
C11627eis c11627eis2 = this.d;
if (c11627eis2 == null) {
C14957gcv.a("");
} else {
c11627eis = c11627eis2;
}
recyclerView2.setAdapter(c11627eis);
return inflate;
}
@Override // o.C11627eis.LWm
public final void d(C1066Uw c1066Uw) {
C14957gcv.e(c1066Uw, "");
Sts sts = this.i;
if (sts == null) {
C14957gcv.a("");
sts = null;
}
sts.c(c1066Uw);
}
@Override // o.C11627eis.LWm
public final void b() {
Sts sts = this.i;
if (sts == null) {
C14957gcv.a("");
sts = null;
}
sts.f();
}
}