what-the-bank/sources/com/scb/phone/view/custom/profilemanagement/AccountManagementFooterCust...

67 lines
2.1 KiB
Java

package com.scb.phone.view.custom.profilemanagement;
import android.content.Context;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.scb.phone.R;
import com.scb.phone.view.custom.profilemanagement.AccountManagementFooterCustomView;
import o.C12402exY;
import o.UR;
import o.UV;
/* loaded from: classes5.dex */
public class AccountManagementFooterCustomView extends AccountManagementItem {
private C12402exY.IeS b;
@BindView
Button doneButton;
public AccountManagementFooterCustomView(Context context) {
this(context, null);
}
public AccountManagementFooterCustomView(Context context, AttributeSet attributeSet) {
this(context, attributeSet, 0);
}
public AccountManagementFooterCustomView(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
((LayoutInflater) context.getSystemService("layout_inflater")).inflate(R.layout.2131558894, (ViewGroup) this, true);
ButterKnife.c(this);
this.doneButton.setOnClickListener(new View.OnClickListener(this) { // from class: o.eDI
private AccountManagementFooterCustomView b;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
AccountManagementFooterCustomView.c(this.b);
}
{
this.b = this;
}
});
}
@Override // com.scb.phone.view.custom.profilemanagement.AccountManagementItem
public void setDisplay(UV uv, boolean z) {
this.doneButton.setEnabled(((UR) uv).b);
this.doneButton.setVisibility(z ? 8 : 0);
}
public static /* synthetic */ void c(AccountManagementFooterCustomView accountManagementFooterCustomView) {
C12402exY.IeS ieS = accountManagementFooterCustomView.b;
if (ieS != null) {
ieS.d();
}
}
public void setListener(C12402exY.IeS ieS) {
this.b = ieS;
}
}