80 lines
2.3 KiB
Java
80 lines
2.3 KiB
Java
|
package com.scb.phone.view.custom.item;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.widget.LinearLayout;
|
||
|
import android.widget.Space;
|
||
|
import butterknife.BindView;
|
||
|
import o.C14957gcv;
|
||
|
import o.InterfaceC13391fZD;
|
||
|
import o.QO;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class ItemRevampSimpleCustom extends ItemSimpleCustom {
|
||
|
|
||
|
@BindView
|
||
|
protected LinearLayout layoutCustomSimpleItem;
|
||
|
|
||
|
@BindView
|
||
|
protected Space spaceBottom;
|
||
|
|
||
|
@BindView
|
||
|
protected Space spaceTop;
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.item.ItemSimpleCustom, com.scb.phone.components.ItemCustom
|
||
|
public /* bridge */ /* synthetic */ void setUpWithDisplay(QO qo) {
|
||
|
setUpWithDisplay(qo);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
@InterfaceC13391fZD
|
||
|
public ItemRevampSimpleCustom(Context context) {
|
||
|
super(context);
|
||
|
C14957gcv.e(context, "");
|
||
|
}
|
||
|
|
||
|
@Override // com.scb.phone.view.custom.item.ItemSimpleCustom
|
||
|
/* renamed from: setUpWithDisplay, reason: avoid collision after fix types in other method */
|
||
|
public void setUpWithDisplay2(QO qo) {
|
||
|
super.setUpWithDisplay(qo);
|
||
|
if (qo != null) {
|
||
|
Space space = null;
|
||
|
if (qo.m) {
|
||
|
Space space2 = this.spaceTop;
|
||
|
if (space2 == null) {
|
||
|
C14957gcv.a("");
|
||
|
space2 = null;
|
||
|
}
|
||
|
space2.setVisibility(8);
|
||
|
}
|
||
|
if (qo.f8324o) {
|
||
|
Space space3 = this.spaceBottom;
|
||
|
if (space3 != null) {
|
||
|
space = space3;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
space.setVisibility(8);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public final void e(boolean z) {
|
||
|
if (z) {
|
||
|
Space space = this.spaceTop;
|
||
|
LinearLayout linearLayout = null;
|
||
|
if (space == null) {
|
||
|
C14957gcv.a("");
|
||
|
space = null;
|
||
|
}
|
||
|
space.setVisibility(8);
|
||
|
LinearLayout linearLayout2 = this.layoutCustomSimpleItem;
|
||
|
if (linearLayout2 != null) {
|
||
|
linearLayout = linearLayout2;
|
||
|
} else {
|
||
|
C14957gcv.a("");
|
||
|
}
|
||
|
linearLayout.setVisibility(8);
|
||
|
}
|
||
|
}
|
||
|
}
|