what-the-bank/sources/o/C12399exV.java

76 lines
2.7 KiB
Java

package o;
import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.view.custom.profilemanagement.AddedAccountManagementSuccessHeaderCustomView;
import com.scb.phone.view.custom.profilemanagement.AddedAccountManagementSuccessItemCustomView;
import com.scb.phone.view.custom.profilemanagement.AddedAccountManagementSuccessSimpleCustomView;
import java.util.List;
/* renamed from: o.exV, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12399exV extends AbstractC12398exU<LWm> {
private Sts a;
/* renamed from: o.exV$RVV */
/* loaded from: classes5.dex */
public interface RVV {
void d();
}
/* renamed from: o.exV$Sts */
/* loaded from: classes5.dex */
public interface Sts {
void a(UU uu);
void c(UU uu, String str);
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ void onBindViewHolder(RecyclerView.zJl zjl, int i) {
UV uv = this.d.get(i);
InterfaceC10440eEa interfaceC10440eEa = ((LWm) zjl).c;
if (interfaceC10440eEa != null) {
interfaceC10440eEa.setDisplay(uv);
}
}
public C12399exV(List<UV> list, Sts sts) {
super(list);
this.a = sts;
}
/* renamed from: o.exV$LWm */
/* loaded from: classes5.dex */
class LWm extends RecyclerView.zJl {
private C12399exV b;
InterfaceC10440eEa c;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
/* JADX WARN: Multi-variable type inference failed */
public LWm(C12399exV c12399exV, View view) {
super(view);
this.b = c12399exV;
if (view instanceof InterfaceC10440eEa) {
this.c = (InterfaceC10440eEa) view;
}
}
}
@Override // androidx.recyclerview.widget.RecyclerView.Sts
public final /* synthetic */ RecyclerView.zJl onCreateViewHolder(ViewGroup viewGroup, int i) {
View view;
if (i == 1) {
view = new AddedAccountManagementSuccessHeaderCustomView(viewGroup.getContext());
} else if (i == 4) {
AddedAccountManagementSuccessItemCustomView addedAccountManagementSuccessItemCustomView = new AddedAccountManagementSuccessItemCustomView(viewGroup.getContext());
addedAccountManagementSuccessItemCustomView.setListener(this.a);
view = addedAccountManagementSuccessItemCustomView;
} else {
view = i == 8 ? new AddedAccountManagementSuccessSimpleCustomView(viewGroup.getContext()) : null;
}
return new LWm(this, view);
}
}