59 lines
2.0 KiB
Java
59 lines
2.0 KiB
Java
package o;
|
|
|
|
import android.widget.RadioGroup;
|
|
|
|
/* renamed from: o.etZ, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12191etZ extends C12246eub {
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
public C12191etZ(C3377awR c3377awR) {
|
|
super(c3377awR);
|
|
C14957gcv.e(c3377awR, "");
|
|
}
|
|
|
|
public final void d(KZ kz, boolean z, InterfaceC14894gbR<? super WW, C14866gag> interfaceC14894gbR, final InterfaceC14894gbR<? super String, C14866gag> interfaceC14894gbR2) {
|
|
C14957gcv.e(kz, "");
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
C14957gcv.e(interfaceC14894gbR2, "");
|
|
super.c(kz);
|
|
C3377awR c = c();
|
|
if (!kz.a) {
|
|
c.b.setEnabled(true);
|
|
c.d.setOnCheckedChangeListener(new RadioGroup.OnCheckedChangeListener(this, interfaceC14894gbR2) { // from class: o.etY
|
|
private InterfaceC14894gbR a;
|
|
private C12191etZ b;
|
|
|
|
@Override // android.widget.RadioGroup.OnCheckedChangeListener
|
|
public final void onCheckedChanged(RadioGroup radioGroup, int i) {
|
|
C12191etZ.c(this.b, this.a, i);
|
|
}
|
|
|
|
{
|
|
this.b = this;
|
|
this.a = interfaceC14894gbR2;
|
|
}
|
|
});
|
|
if (z) {
|
|
c.c.setVisibility(8);
|
|
return;
|
|
} else {
|
|
d(kz.b, interfaceC14894gbR);
|
|
return;
|
|
}
|
|
}
|
|
C3377awR c2 = c();
|
|
c2.a.setChecked(true);
|
|
c2.b.setEnabled(false);
|
|
c2.c.setVisibility(8);
|
|
}
|
|
|
|
public static /* synthetic */ void c(C12191etZ c12191etZ, InterfaceC14894gbR interfaceC14894gbR, int i) {
|
|
C14957gcv.e(c12191etZ, "");
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
if (c12191etZ.d()) {
|
|
return;
|
|
}
|
|
interfaceC14894gbR.invoke(i == c12191etZ.c().b.getId() ? "DIRECT_DEBIT" : "CASH");
|
|
}
|
|
}
|