what-the-bank/sources/com/scb/phone/view/fragment/findus/FindUsFragment.java

55 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.findus;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.material.tabs.TabLayout;
import com.scb.phone.R;
import com.scb.phone.view.custom.common.NoSwipeViewPager;
import o.C12224euF;
/* loaded from: classes5.dex */
public class FindUsFragment extends Hilt_FindUsFragment {
@BindView
TabLayout mTabLayout;
@BindView
NoSwipeViewPager mTabPager;
public static FindUsFragment d(boolean z) {
FindUsFragment findUsFragment = new FindUsFragment();
Bundle bundle = new Bundle();
bundle.putBoolean("com.scb.phone.EXTRA_CARDLESS_FIND_US_ATM", z);
findUsFragment.setArguments(bundle);
return findUsFragment;
}
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559660, viewGroup, false);
ButterKnife.c(this, inflate);
super.aa();
Y();
u(getString(R.string.find_branch_atm));
C12224euF c12224euF = new C12224euF(getChildFragmentManager(), getContext());
this.mTabPager.setPagingEnabled(false);
this.mTabPager.setAdapter(c12224euF);
this.mTabLayout.setupWithViewPager(this.mTabPager);
if (getArguments() != null && getArguments().getBoolean("com.scb.phone.EXTRA_CARDLESS_FIND_US_ATM")) {
this.mTabPager.setCurrentItem(1);
}
return inflate;
}
@Override // com.scb.phone.view.fragment.BaseFragment
public final void aa() {
super.aa();
Y();
u(getString(R.string.find_branch_atm));
}
}