657 lines
25 KiB
Java
657 lines
25 KiB
Java
package com.scb.phone.view.fragment.ntb.ndidtouchpointaddress;
|
|
|
|
import android.os.Bundle;
|
|
import android.view.LayoutInflater;
|
|
import android.view.View;
|
|
import android.view.ViewGroup;
|
|
import com.scb.phone.R;
|
|
import com.scb.phone.view.custom.common.CustomAddressInput;
|
|
import com.scb.phone.view.fragment.ntb.ndidtouchpointaddress.BaseNdidTouchPointAddressFragment;
|
|
import o.C14957gcv;
|
|
import o.C6984cfi;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC8954dab;
|
|
import o.SP;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class BaseNdidTouchPointAddressFragment extends Hilt_BaseNdidTouchPointAddressFragment implements InterfaceC8954dab.Sts {
|
|
|
|
@InterfaceC13391fZD
|
|
public C6984cfi baseNdidTouchPointPresenter;
|
|
|
|
@Override // o.InterfaceC8954dab.Sts
|
|
public final /* synthetic */ void a(Boolean bool) {
|
|
String str;
|
|
String str2;
|
|
String str3;
|
|
String str4;
|
|
SP e;
|
|
boolean booleanValue = bool.booleanValue();
|
|
if (this.provinceLabel.getText().equals(Integer.valueOf(R.string.select_province))) {
|
|
str = null;
|
|
str2 = null;
|
|
str3 = null;
|
|
str4 = null;
|
|
} else {
|
|
str = this.provinceLabel.getText().toString();
|
|
str2 = this.districtLabel.getText().toString();
|
|
str3 = this.subDistrictLabel.getText().toString();
|
|
str4 = this.postalCodeLabel.getText().toString();
|
|
}
|
|
if (booleanValue) {
|
|
e = SP.e();
|
|
e.h = this.houseNo.inputTextField.getText().toString().trim();
|
|
e.p = this.floor.inputTextField.getText().toString().trim();
|
|
e.t = this.unit.inputTextField.getText().toString().trim();
|
|
e.m = this.village.inputTextField.getText().toString().trim();
|
|
e.i = this.moo.inputTextField.getText().toString().trim();
|
|
e.f = this.alley.inputTextField.getText().toString().trim();
|
|
e.n = this.roadTH.inputTextField.getText().toString().trim();
|
|
e.g = str;
|
|
e.a = str3;
|
|
e.c = str2;
|
|
e.l = str4;
|
|
C14957gcv.c(e, "");
|
|
} else {
|
|
e = SP.e();
|
|
e.h = this.houseNo.inputTextField.getText().toString().trim();
|
|
e.p = this.floor.inputTextField.getText().toString().trim();
|
|
e.t = this.unit.inputTextField.getText().toString().trim();
|
|
e.m = this.village.inputTextField.getText().toString().trim();
|
|
e.i = this.moo.inputTextField.getText().toString().trim();
|
|
e.f = this.alley.inputTextField.getText().toString().trim();
|
|
e.n = this.otherCountryRoad.inputTextField.getText().toString().trim();
|
|
e.a = this.otherCountryDistrict.inputTextField.getText().toString().trim();
|
|
e.g = this.city.inputTextField.getText().toString().trim();
|
|
e.f8360o = this.state.inputTextField.getText().toString().trim();
|
|
e.l = this.zipCode.inputTextField.getText().toString().trim();
|
|
C14957gcv.c(e, "");
|
|
}
|
|
e(e, booleanValue);
|
|
d(booleanValue);
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.ntb.address.BaseAddressFragment, androidx.fragment.app.Fragment
|
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
|
C14957gcv.e(layoutInflater, "");
|
|
C6984cfi c6984cfi = this.baseNdidTouchPointPresenter;
|
|
if (c6984cfi == null) {
|
|
C14957gcv.a("");
|
|
c6984cfi = null;
|
|
}
|
|
c6984cfi.e((C6984cfi) this);
|
|
return super.onCreateView(layoutInflater, viewGroup, bundle);
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.ntb.address.BaseAddressFragment, androidx.fragment.app.Fragment
|
|
public void onViewCreated(View view, Bundle bundle) {
|
|
C14957gcv.e(view, "");
|
|
super.onViewCreated(view, bundle);
|
|
C6984cfi c6984cfi = this.baseNdidTouchPointPresenter;
|
|
if (c6984cfi == null) {
|
|
C14957gcv.a("");
|
|
c6984cfi = null;
|
|
}
|
|
Boolean d = this.presenter.d();
|
|
C14957gcv.c(d, "");
|
|
c6984cfi.c = d.booleanValue();
|
|
final CustomAddressInput customAddressInput = this.houseNo;
|
|
C14957gcv.c(customAddressInput, "");
|
|
final int i = 0;
|
|
customAddressInput.setOnValueChangeListener(new CustomAddressInput.RVV(this, i, customAddressInput) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i;
|
|
this.a = customAddressInput;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput2 = this.moo;
|
|
C14957gcv.c(customAddressInput2, "");
|
|
final int i2 = 4;
|
|
customAddressInput2.setOnValueChangeListener(new CustomAddressInput.RVV(this, i2, customAddressInput2) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i2;
|
|
this.a = customAddressInput2;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput3 = this.trok;
|
|
C14957gcv.c(customAddressInput3, "");
|
|
final int i3 = 5;
|
|
customAddressInput3.setOnValueChangeListener(new CustomAddressInput.RVV(this, i3, customAddressInput3) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i3;
|
|
this.a = customAddressInput3;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput4 = this.alley;
|
|
C14957gcv.c(customAddressInput4, "");
|
|
final int i4 = 6;
|
|
customAddressInput4.setOnValueChangeListener(new CustomAddressInput.RVV(this, i4, customAddressInput4) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i4;
|
|
this.a = customAddressInput4;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput5 = this.roadTH;
|
|
C14957gcv.c(customAddressInput5, "");
|
|
final int i5 = 7;
|
|
customAddressInput5.setOnValueChangeListener(new CustomAddressInput.RVV(this, i5, customAddressInput5) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i5;
|
|
this.a = customAddressInput5;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput6 = this.otherCountryRoad;
|
|
C14957gcv.c(customAddressInput6, "");
|
|
final int i6 = 9;
|
|
customAddressInput6.setOnValueChangeListener(new CustomAddressInput.RVV(this, i6, customAddressInput6) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i6;
|
|
this.a = customAddressInput6;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput7 = this.otherCountryDistrict;
|
|
C14957gcv.c(customAddressInput7, "");
|
|
final int i7 = 10;
|
|
customAddressInput7.setOnValueChangeListener(new CustomAddressInput.RVV(this, i7, customAddressInput7) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i7;
|
|
this.a = customAddressInput7;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput8 = this.city;
|
|
C14957gcv.c(customAddressInput8, "");
|
|
final int i8 = 11;
|
|
customAddressInput8.setOnValueChangeListener(new CustomAddressInput.RVV(this, i8, customAddressInput8) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i8;
|
|
this.a = customAddressInput8;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput9 = this.state;
|
|
C14957gcv.c(customAddressInput9, "");
|
|
final int i9 = 12;
|
|
customAddressInput9.setOnValueChangeListener(new CustomAddressInput.RVV(this, i9, customAddressInput9) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i9;
|
|
this.a = customAddressInput9;
|
|
}
|
|
});
|
|
final CustomAddressInput customAddressInput10 = this.zipCode;
|
|
C14957gcv.c(customAddressInput10, "");
|
|
final int i10 = 13;
|
|
customAddressInput10.setOnValueChangeListener(new CustomAddressInput.RVV(this, i10, customAddressInput10) { // from class: o.fqZ
|
|
private CustomAddressInput a;
|
|
private int d;
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.e(this.e, this.d, this.a);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = i10;
|
|
this.a = customAddressInput10;
|
|
}
|
|
});
|
|
CustomAddressInput customAddressInput11 = this.floor;
|
|
C14957gcv.c(customAddressInput11, "");
|
|
customAddressInput11.setOnValueChangeListener(new CustomAddressInput.RVV(this) { // from class: o.fqW
|
|
private BaseNdidTouchPointAddressFragment d;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.b(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
customAddressInput11.setOnFocusChanged(new CustomAddressInput.IeS(this) { // from class: o.fre
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.IeS
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.d(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
});
|
|
CustomAddressInput customAddressInput12 = this.unit;
|
|
C14957gcv.c(customAddressInput12, "");
|
|
customAddressInput12.setOnValueChangeListener(new CustomAddressInput.RVV(this) { // from class: o.fqW
|
|
private BaseNdidTouchPointAddressFragment d;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.b(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
customAddressInput12.setOnFocusChanged(new CustomAddressInput.IeS(this) { // from class: o.fre
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.IeS
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.d(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
});
|
|
CustomAddressInput customAddressInput13 = this.village;
|
|
C14957gcv.c(customAddressInput13, "");
|
|
customAddressInput13.setOnValueChangeListener(new CustomAddressInput.RVV(this) { // from class: o.fqW
|
|
private BaseNdidTouchPointAddressFragment d;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.RVV
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.b(this.d);
|
|
}
|
|
|
|
{
|
|
this.d = this;
|
|
}
|
|
});
|
|
customAddressInput13.setOnFocusChanged(new CustomAddressInput.IeS(this) { // from class: o.fre
|
|
private BaseNdidTouchPointAddressFragment e;
|
|
|
|
@Override // com.scb.phone.view.custom.common.CustomAddressInput.IeS
|
|
public final void e(boolean z) {
|
|
BaseNdidTouchPointAddressFragment.d(this.e);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:11:0x0031 A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:13:0x0032 */
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x003d */
|
|
/* JADX WARN: Removed duplicated region for block: B:17:0x0048 */
|
|
/* JADX WARN: Removed duplicated region for block: B:19:0x0053 */
|
|
/* JADX WARN: Removed duplicated region for block: B:21:0x005e */
|
|
/* JADX WARN: Removed duplicated region for block: B:23:0x0069 */
|
|
/* JADX WARN: Removed duplicated region for block: B:25:0x0074 */
|
|
/* JADX WARN: Removed duplicated region for block: B:27:0x007f */
|
|
/* JADX WARN: Removed duplicated region for block: B:29:0x008a */
|
|
@Override // o.InterfaceC8954dab.Sts
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void c(int r3, int r4) {
|
|
/*
|
|
r2 = this;
|
|
r0 = 2
|
|
java.lang.String r1 = ""
|
|
if (r3 == r0) goto L22
|
|
r0 = 3
|
|
if (r3 == r0) goto L17
|
|
r0 = 4
|
|
if (r3 == r0) goto Lc
|
|
goto L2d
|
|
Lc:
|
|
r3 = 2131952414(0x7f13031e, float:1.954127E38)
|
|
java.lang.String r3 = r2.getString(r3)
|
|
o.C14957gcv.c(r3, r1)
|
|
goto L2c
|
|
L17:
|
|
r3 = 2131952413(0x7f13031d, float:1.9541268E38)
|
|
java.lang.String r3 = r2.getString(r3)
|
|
o.C14957gcv.c(r3, r1)
|
|
goto L2c
|
|
L22:
|
|
r3 = 2131952412(0x7f13031c, float:1.9541266E38)
|
|
java.lang.String r3 = r2.getString(r3)
|
|
o.C14957gcv.c(r3, r1)
|
|
L2c:
|
|
r1 = r3
|
|
L2d:
|
|
r3 = 0
|
|
switch(r4) {
|
|
case 0: goto L8a;
|
|
case 1: goto L7f;
|
|
case 2: goto L74;
|
|
case 3: goto L69;
|
|
case 4: goto L5e;
|
|
case 5: goto L53;
|
|
case 6: goto L48;
|
|
case 7: goto L3d;
|
|
case 8: goto L31;
|
|
case 9: goto L32;
|
|
default: goto L31;
|
|
}
|
|
L31:
|
|
return
|
|
L32:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.otherCountryRoad
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.otherCountryRoad
|
|
r4.a(r3)
|
|
return
|
|
L3d:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.roadTH
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.roadTH
|
|
r4.a(r3)
|
|
return
|
|
L48:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.alley
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.alley
|
|
r4.a(r3)
|
|
return
|
|
L53:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.trok
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.trok
|
|
r4.a(r3)
|
|
return
|
|
L5e:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.moo
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.moo
|
|
r4.a(r3)
|
|
return
|
|
L69:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.village
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.village
|
|
r4.a(r3)
|
|
return
|
|
L74:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.floor
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.floor
|
|
r4.a(r3)
|
|
return
|
|
L7f:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.unit
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.unit
|
|
r4.a(r3)
|
|
return
|
|
L8a:
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.houseNo
|
|
r4.setErrorMessage(r1)
|
|
com.scb.phone.view.custom.common.CustomAddressInput r4 = r2.houseNo
|
|
r4.a(r3)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.ntb.ndidtouchpointaddress.BaseNdidTouchPointAddressFragment.c(int, int):void");
|
|
}
|
|
|
|
@Override // o.InterfaceC8954dab.Sts
|
|
public final void a(int i) {
|
|
switch (i) {
|
|
case 0:
|
|
this.houseNo.a(true);
|
|
return;
|
|
case 1:
|
|
this.unit.a(true);
|
|
return;
|
|
case 2:
|
|
this.floor.a(true);
|
|
return;
|
|
case 3:
|
|
this.village.a(true);
|
|
return;
|
|
case 4:
|
|
this.moo.a(true);
|
|
return;
|
|
case 5:
|
|
this.trok.a(true);
|
|
return;
|
|
case 6:
|
|
this.alley.a(true);
|
|
return;
|
|
case 7:
|
|
this.roadTH.a(true);
|
|
return;
|
|
case 8:
|
|
default:
|
|
return;
|
|
case 9:
|
|
this.otherCountryRoad.a(true);
|
|
return;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC8954dab.Sts
|
|
public final void c() {
|
|
this.nextButton.setEnabled(false);
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public static final class HBt {
|
|
private HBt() {
|
|
}
|
|
|
|
public /* synthetic */ HBt(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void b(BaseNdidTouchPointAddressFragment baseNdidTouchPointAddressFragment) {
|
|
C14957gcv.e(baseNdidTouchPointAddressFragment, "");
|
|
C6984cfi c6984cfi = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
C6984cfi c6984cfi2 = null;
|
|
if (c6984cfi == null) {
|
|
C14957gcv.a("");
|
|
c6984cfi = null;
|
|
}
|
|
Boolean d = baseNdidTouchPointAddressFragment.presenter.d();
|
|
C14957gcv.c(d, "");
|
|
c6984cfi.c = d.booleanValue();
|
|
C6984cfi c6984cfi3 = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
if (c6984cfi3 != null) {
|
|
c6984cfi2 = c6984cfi3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
String obj = baseNdidTouchPointAddressFragment.floor.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj, "");
|
|
String obj2 = baseNdidTouchPointAddressFragment.unit.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj2, "");
|
|
String obj3 = baseNdidTouchPointAddressFragment.village.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj3, "");
|
|
c6984cfi2.d(obj, obj2, obj3);
|
|
}
|
|
|
|
public static /* synthetic */ void e(BaseNdidTouchPointAddressFragment baseNdidTouchPointAddressFragment, int i, CustomAddressInput customAddressInput) {
|
|
C14957gcv.e(baseNdidTouchPointAddressFragment, "");
|
|
C14957gcv.e(customAddressInput, "");
|
|
C6984cfi c6984cfi = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
C6984cfi c6984cfi2 = null;
|
|
if (c6984cfi == null) {
|
|
C14957gcv.a("");
|
|
c6984cfi = null;
|
|
}
|
|
Boolean d = baseNdidTouchPointAddressFragment.presenter.d();
|
|
C14957gcv.c(d, "");
|
|
c6984cfi.c = d.booleanValue();
|
|
C6984cfi c6984cfi3 = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
if (c6984cfi3 != null) {
|
|
c6984cfi2 = c6984cfi3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
String obj = customAddressInput.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj, "");
|
|
C14957gcv.e(obj, "");
|
|
if (i == 0) {
|
|
int d2 = C6984cfi.d(obj, Boolean.TRUE);
|
|
c6984cfi2.d = d2;
|
|
c6984cfi2.c(i, d2);
|
|
} else if (i == 4) {
|
|
int e = C6984cfi.e(obj);
|
|
c6984cfi2.a = e;
|
|
c6984cfi2.c(i, e);
|
|
} else if (i == 5) {
|
|
int e2 = C6984cfi.e(obj);
|
|
c6984cfi2.l = e2;
|
|
c6984cfi2.c(i, e2);
|
|
} else if (i == 6) {
|
|
int e3 = C6984cfi.e(obj);
|
|
c6984cfi2.e = e3;
|
|
c6984cfi2.c(i, e3);
|
|
} else if (i == 7) {
|
|
int e4 = C6984cfi.e(obj);
|
|
c6984cfi2.h = e4;
|
|
c6984cfi2.c(i, e4);
|
|
} else {
|
|
switch (i) {
|
|
case 9:
|
|
int e5 = C6984cfi.e(obj);
|
|
c6984cfi2.g = e5;
|
|
c6984cfi2.c(i, e5);
|
|
break;
|
|
case 10:
|
|
c6984cfi2.i = C6984cfi.d(obj);
|
|
break;
|
|
case 11:
|
|
c6984cfi2.b = C6984cfi.d(obj);
|
|
break;
|
|
case 12:
|
|
c6984cfi2.f8643o = C6984cfi.d(obj);
|
|
break;
|
|
case 13:
|
|
c6984cfi2.n = C6984cfi.d(obj);
|
|
break;
|
|
}
|
|
}
|
|
c6984cfi2.b(c6984cfi2.c);
|
|
}
|
|
|
|
public static /* synthetic */ void d(BaseNdidTouchPointAddressFragment baseNdidTouchPointAddressFragment) {
|
|
C14957gcv.e(baseNdidTouchPointAddressFragment, "");
|
|
C6984cfi c6984cfi = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
C6984cfi c6984cfi2 = null;
|
|
if (c6984cfi == null) {
|
|
C14957gcv.a("");
|
|
c6984cfi = null;
|
|
}
|
|
Boolean d = baseNdidTouchPointAddressFragment.presenter.d();
|
|
C14957gcv.c(d, "");
|
|
c6984cfi.c = d.booleanValue();
|
|
C6984cfi c6984cfi3 = baseNdidTouchPointAddressFragment.baseNdidTouchPointPresenter;
|
|
if (c6984cfi3 != null) {
|
|
c6984cfi2 = c6984cfi3;
|
|
} else {
|
|
C14957gcv.a("");
|
|
}
|
|
String obj = baseNdidTouchPointAddressFragment.floor.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj, "");
|
|
String obj2 = baseNdidTouchPointAddressFragment.unit.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj2, "");
|
|
String obj3 = baseNdidTouchPointAddressFragment.village.inputTextField.getText().toString();
|
|
C14957gcv.c((Object) obj3, "");
|
|
c6984cfi2.d(obj, obj2, obj3);
|
|
}
|
|
|
|
static {
|
|
new HBt((byte) 0);
|
|
}
|
|
}
|