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

74 lines
2.1 KiB
Java

package com.scb.phone.view.fragment.merchant;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.scb.phone.R;
import o.RK;
import o.fJM;
/* loaded from: classes5.dex */
public class MerchantWalletMoreInfoFragment extends Hilt_MerchantWalletMoreInfoFragment {
private boolean d;
@BindView
protected ImageView mImageIconExpandMore;
@BindView
protected ViewGroup mLayoutCollapsed;
@BindView
protected ViewGroup mLayoutExpanded;
@BindView
protected TextView mTextLinkedAccountValue;
@BindView
protected TextView mTextOwnerNameValue;
@BindView
protected TextView mTextProductTypeValue;
@BindView
protected TextView mTextShopNameValue;
@Override // androidx.fragment.app.Fragment
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
View inflate = layoutInflater.inflate(R.layout.2131559756, viewGroup, false);
ButterKnife.c(this, inflate);
this.mLayoutExpanded.setVisibility(8);
return inflate;
}
@OnClick
public void onLayoutCollapsedClick() {
this.d = !this.d;
fJM.b(this.mImageIconExpandMore);
if (this.mLayoutExpanded.getVisibility() == 8) {
fJM.e(this.mLayoutExpanded);
} else {
fJM.d(this.mLayoutExpanded);
}
}
public final void d(RK rk) {
if (rk == null) {
this.mTextProductTypeValue.setText((CharSequence) null);
this.mTextShopNameValue.setText((CharSequence) null);
this.mTextOwnerNameValue.setText((CharSequence) null);
this.mTextLinkedAccountValue.setText((CharSequence) null);
return;
}
this.mTextProductTypeValue.setText(rk.a);
this.mTextShopNameValue.setText(rk.f);
this.mTextOwnerNameValue.setText(rk.d);
this.mTextLinkedAccountValue.setText(rk.b);
}
}