what-the-bank/sources/com/scb/phone/view/custom/common/NoteEditTextWithButton.java

57 lines
1.3 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.common;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import android.widget.Button;
import butterknife.BindView;
import butterknife.OnClick;
import com.scb.phone.R;
/* loaded from: classes5.dex */
public class NoteEditTextWithButton extends NoteEditText {
private Sts a;
@BindView
Button buttonDone;
/* loaded from: classes5.dex */
public interface Sts {
void e();
}
@Override // com.scb.phone.view.custom.common.NoteEditText
protected final int a() {
return R.layout.2131558873;
}
public NoteEditTextWithButton(Context context) {
super(context);
}
public NoteEditTextWithButton(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
}
public NoteEditTextWithButton(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
}
public void setDoneButtonText(String str) {
this.buttonDone.setText(str);
}
public void setDoneButtonEnable(boolean z) {
this.buttonDone.setEnabled(z);
}
@OnClick
public void onDoneButtonClick(View view) {
this.a.e();
}
public void setOnDoneButtonListener(Sts sts) {
this.a = sts;
}
}