75 lines
2.5 KiB
Java
75 lines
2.5 KiB
Java
|
package com.scb.phone.view.fragment.investment.funddetails;
|
||
|
|
||
|
import android.content.Intent;
|
||
|
import android.content.IntentFilter;
|
||
|
import android.os.Bundle;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewGroup;
|
||
|
import android.widget.TextView;
|
||
|
import butterknife.BindView;
|
||
|
import butterknife.ButterKnife;
|
||
|
import com.scb.phone.R;
|
||
|
import com.scb.phone.view.fragment.BaseFragment;
|
||
|
import com.scb.phone.view.fragment.investment.funddetails.FundDetailSummaryFragment;
|
||
|
import o.InterfaceC6682cZy;
|
||
|
import o.fSQ;
|
||
|
import o.glR;
|
||
|
|
||
|
/* loaded from: classes5.dex */
|
||
|
public class FundDetailSummaryFragment extends Hilt_FundDetailSummaryFragment implements InterfaceC6682cZy {
|
||
|
|
||
|
@BindView
|
||
|
public TextView mAverageCost;
|
||
|
|
||
|
@BindView
|
||
|
public TextView mAverageUnit;
|
||
|
|
||
|
@BindView
|
||
|
public TextView mCurrentUnit;
|
||
|
|
||
|
@BindView
|
||
|
public TextView mCurrentValue;
|
||
|
|
||
|
@BindView
|
||
|
public TextView mFundDescription;
|
||
|
|
||
|
@BindView
|
||
|
public TextView mFundName;
|
||
|
|
||
|
@Override // androidx.fragment.app.Fragment
|
||
|
public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
|
||
|
View inflate = layoutInflater.inflate(R.layout.2131559670, viewGroup, false);
|
||
|
ButterKnife.c(this, inflate);
|
||
|
((BaseFragment) this).b = glR.Ge_(getContext(), new IntentFilter("com.scb.phone/BROADCAST_FUND_DETAILS_SUMMARY")).subscribe(new fSQ(this) { // from class: o.fgZ
|
||
|
private FundDetailSummaryFragment b;
|
||
|
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
FundDetailSummaryFragment fundDetailSummaryFragment = this.b;
|
||
|
Intent intent = (Intent) obj;
|
||
|
if (intent.getExtras() != null) {
|
||
|
OJ oj = (OJ) intent.getParcelableExtra("INVESTMENT_FUND_LIST");
|
||
|
fundDetailSummaryFragment.mFundName.setText(oj.h);
|
||
|
fundDetailSummaryFragment.mFundDescription.setText(oj.a);
|
||
|
fundDetailSummaryFragment.mAverageUnit.setText(oj.c);
|
||
|
fundDetailSummaryFragment.mCurrentUnit.setText(oj.i);
|
||
|
fundDetailSummaryFragment.mAverageCost.setText(oj.b);
|
||
|
fundDetailSummaryFragment.mCurrentValue.setText(oj.l);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
}, new fSQ() { // from class: o.fgX
|
||
|
@Override // o.fSQ
|
||
|
public final void c(Object obj) {
|
||
|
guQ.a((Throwable) obj);
|
||
|
}
|
||
|
});
|
||
|
v();
|
||
|
return inflate;
|
||
|
}
|
||
|
}
|