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

74 lines
2.1 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment;
import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import java.util.List;
/* loaded from: classes5.dex */
public class DepositBottomSelectionEntryFragment extends Hilt_DepositBottomSelectionEntryFragment {
private LWm a;
@BindView
LinearLayout closeAccount;
public List<String> e;
@BindView
LinearLayout selectExportStatement;
/* loaded from: classes5.dex */
public interface LWm {
void g();
void j();
}
public static DepositBottomSelectionEntryFragment d() {
return new DepositBottomSelectionEntryFragment();
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559394, viewGroup, false);
ButterKnife.c(this, inflate);
List<String> list = this.e;
if (list != null) {
if (list.contains("CLOSE_ACCOUNT_SOURCE")) {
this.closeAccount.setVisibility(0);
}
if (list.contains("EXPORT_STATEMENT")) {
this.selectExportStatement.setVisibility(0);
}
}
return inflate;
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.scb.phone.view.fragment.Hilt_DepositBottomSelectionEntryFragment, androidx.fragment.app.DialogFragment, androidx.fragment.app.Fragment
public void onAttach(Context context) {
super.onAttach(context);
if (context instanceof LWm) {
this.a = (LWm) context;
return;
}
throw new IllegalStateException("This context needs to implement the OnEntrySelectionListener contract");
}
@OnClick
public void exportStatement(View view) {
this.a.g();
}
@OnClick
public void closeAccount(View view) {
this.a.j();
}
}