what-the-bank/sources/com/scb/phone/view/fragment/transferandpay/BaseTransferAndPayTabFragme...

77 lines
2.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.transferandpay;
import android.content.Intent;
import android.content.IntentFilter;
import com.scb.phone.view.fragment.transferandpay.BaseTransferAndPayTabFragment;
import o.fSJ;
import o.fSQ;
import o.glR;
/* loaded from: classes5.dex */
public abstract class BaseTransferAndPayTabFragment extends Hilt_BaseTransferAndPayTabFragment {
private fSJ c;
private fSJ d;
public abstract void axX_(Intent intent);
public void axW_(Intent intent) {
aO_();
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onDestroy() {
fSJ fsj = this.d;
if (fsj != null && !fsj.isDisposed()) {
this.d.dispose();
}
fSJ fsj2 = this.c;
if (fsj2 != null && !fsj2.isDisposed()) {
this.c.dispose();
}
super.onDestroy();
}
public final boolean f() {
fSJ fsj = this.d;
return (fsj == null || this.c == null || fsj.isDisposed() || this.c.isDisposed()) ? false : true;
}
/* JADX INFO: Access modifiers changed from: protected */
public final void d(String str, String str2) {
this.d = glR.Ge_(getContext(), new IntentFilter(str)).subscribe(new fSQ(this) { // from class: o.fCR
private BaseTransferAndPayTabFragment b;
@Override // o.fSQ
public final void c(Object obj) {
this.b.axX_((Intent) obj);
}
{
this.b = this;
}
}, new fSQ() { // from class: o.fCQ
@Override // o.fSQ
public final void c(Object obj) {
guQ.a((Throwable) obj);
}
});
this.c = glR.Ge_(getContext(), new IntentFilter(str2)).subscribe(new fSQ(this) { // from class: o.fCU
private BaseTransferAndPayTabFragment a;
@Override // o.fSQ
public final void c(Object obj) {
this.a.axW_((Intent) obj);
}
{
this.a = this;
}
}, new fSQ() { // from class: o.fCQ
@Override // o.fSQ
public final void c(Object obj) {
guQ.a((Throwable) obj);
}
});
}
}