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

52 lines
1.4 KiB
Java

package o;
import android.view.View;
import android.view.ViewGroup;
import com.scb.phone.view.custom.item.ItemCardCustom;
import java.util.List;
/* renamed from: o.exH, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public final class C12385exH extends WYJ {
public List<? extends QE> e;
public C12385exH(List<? extends QE> list) {
C14957gcv.e(list, "");
this.e = list;
}
@Override // o.WYJ
public final int getCount() {
return this.e.size();
}
@Override // o.WYJ
public final Object instantiateItem(ViewGroup viewGroup, int i) {
C14957gcv.e(viewGroup, "");
ItemCardCustom itemCardCustom = new ItemCardCustom(viewGroup.getContext());
itemCardCustom.setUpWithDisplay(this.e.get(i));
viewGroup.addView(itemCardCustom);
return itemCardCustom;
}
@Override // o.WYJ
public final void destroyItem(ViewGroup viewGroup, int i, Object obj) {
C14957gcv.e(viewGroup, "");
C14957gcv.e(obj, "");
viewGroup.removeView((View) obj);
}
@Override // o.WYJ
public final boolean isViewFromObject(View view, Object obj) {
C14957gcv.e(view, "");
C14957gcv.e(obj, "");
return view == obj;
}
@Override // o.WYJ
public final int getItemPosition(Object obj) {
C14957gcv.e(obj, "");
return -2;
}
}