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

51 lines
1.6 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.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import com.scb.phone.view.activity.transferandpay.NewTransactionActivity;
import com.scb.phone.view.activity.transferandpay.ScanPaymentActivity;
import o.InterfaceC13391fZD;
import o.InterfaceC9505dkx;
/* loaded from: classes5.dex */
public class TransferAndPayFragment extends Hilt_TransferAndPayFragment {
@InterfaceC13391fZD
public InterfaceC9505dkx iDeviceCompatibilityHelper;
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559958, viewGroup, false);
ButterKnife.c(this, inflate);
super.aa();
Z();
u(getString(R.string.transfer_pay_title));
return inflate;
}
@Override // com.scb.phone.view.fragment.BaseFragment
public final void aa() {
super.aa();
Z();
u(getString(R.string.transfer_pay_title));
}
@OnClick
public void onNewTransactionClick() {
startActivity(new Intent(getContext(), (Class<?>) NewTransactionActivity.class));
}
@OnClick
public void onBarcodeScanClick() {
if (this.iDeviceCompatibilityHelper.d()) {
startActivity(new Intent(getContext(), (Class<?>) ScanPaymentActivity.class));
}
}
}