52 lines
1.7 KiB
Java
52 lines
1.7 KiB
Java
package com.scb.phone.view.fragment.cardmanagement;
|
|
|
|
import android.os.Bundle;
|
|
import android.text.TextUtils;
|
|
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 com.scb.phone.R;
|
|
import com.squareup.picasso.Picasso;
|
|
import o.C0367Fb;
|
|
import o.C13020fOa;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class CreditCardDisplayFragment extends Hilt_CreditCardDisplayFragment {
|
|
|
|
@BindView
|
|
TextView cardFirstFourDigit;
|
|
|
|
@BindView
|
|
TextView cardLastFourDigit;
|
|
|
|
@BindView
|
|
TextView cardSecondTwoDigit;
|
|
|
|
@BindView
|
|
ImageView imvCreditCard;
|
|
|
|
@BindView
|
|
TextView txvCardNickName;
|
|
|
|
@Override // androidx.fragment.app.Fragment
|
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
|
View inflate = layoutInflater.inflate(R.layout.2131559524, viewGroup, false);
|
|
ButterKnife.c(this, inflate);
|
|
C0367Fb c0367Fb = (C0367Fb) getActivity().getIntent().getParcelableExtra("com.scb.phone.view.activity.card_management.DeejungPlansActivity.KEY_CREDIT_CARD_DISPLAY");
|
|
this.txvCardNickName.setText(c0367Fb.O);
|
|
this.cardFirstFourDigit.setText(c0367Fb.s);
|
|
this.cardSecondTwoDigit.setText(c0367Fb.t);
|
|
this.cardLastFourDigit.setText(c0367Fb.r);
|
|
if (!TextUtils.isEmpty(c0367Fb.p)) {
|
|
C13020fOa b = Picasso.d().e(c0367Fb.p).e(R.drawable.default_card_without_logo).b(R.drawable.default_card);
|
|
b.e = true;
|
|
b.aBu_(this.imvCreditCard, null);
|
|
}
|
|
return inflate;
|
|
}
|
|
}
|