what-the-bank/sources/com/scb/phone/view/custom/item/ItemRevampSeparatorCustom.java

75 lines
2.1 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.item;
import android.content.Context;
import android.view.View;
import butterknife.BindView;
import o.C14957gcv;
import o.InterfaceC13391fZD;
import o.QQ;
/* loaded from: classes5.dex */
public final class ItemRevampSeparatorCustom extends ItemSeparatorCustom {
private boolean e;
@BindView
protected View viewFullSeparator;
@BindView
protected View viewSeparator;
@Override // com.scb.phone.view.custom.item.ItemSeparatorCustom, com.scb.phone.components.ItemCustom
public final /* bridge */ /* synthetic */ void setUpWithDisplay(QQ qq) {
setUpWithDisplay(qq);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public ItemRevampSeparatorCustom(Context context) {
super(context);
C14957gcv.e(context, "");
}
@Override // com.scb.phone.view.custom.item.ItemSeparatorCustom
/* renamed from: setUpWithDisplay, reason: avoid collision after fix types in other method */
public final void setUpWithDisplay2(QQ qq) {
super.setUpWithDisplay(qq);
if (qq == null || !qq.c || this.e) {
return;
}
View view = this.viewSeparator;
View view2 = null;
if (view == null) {
C14957gcv.a("");
view = null;
}
view.setVisibility(8);
View view3 = this.viewFullSeparator;
if (view3 != null) {
view2 = view3;
} else {
C14957gcv.a("");
}
view2.setVisibility(0);
}
public final void e(boolean z) {
this.e = z;
if (z) {
View view = this.viewSeparator;
View view2 = null;
if (view == null) {
C14957gcv.a("");
view = null;
}
view.setVisibility(8);
View view3 = this.viewFullSeparator;
if (view3 != null) {
view2 = view3;
} else {
C14957gcv.a("");
}
view2.setVisibility(8);
}
}
}