what-the-bank/sources/com/scb/phone/view/custom/investment/onboarding/CustomDropdownAwareSpinner....

61 lines
1.8 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.custom.investment.onboarding;
import android.content.Context;
import android.util.AttributeSet;
import androidx.appcompat.widget.AppCompatSpinner;
import o.C14957gcv;
/* loaded from: classes5.dex */
public final class CustomDropdownAwareSpinner extends AppCompatSpinner {
private boolean a;
private RVV b;
/* loaded from: classes5.dex */
public interface RVV {
void d();
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CustomDropdownAwareSpinner(Context context) {
super(context);
C14957gcv.e(context, "");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CustomDropdownAwareSpinner(Context context, AttributeSet attributeSet) {
super(context, attributeSet);
C14957gcv.e(context, "");
C14957gcv.e(attributeSet, "");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public CustomDropdownAwareSpinner(Context context, AttributeSet attributeSet, int i) {
super(context, attributeSet, i);
C14957gcv.e(context, "");
C14957gcv.e(attributeSet, "");
}
@Override // androidx.appcompat.widget.AppCompatSpinner, android.widget.Spinner, android.view.View
public final boolean performClick() {
this.a = true;
return super.performClick();
}
@Override // android.view.View
public final void onWindowFocusChanged(boolean z) {
super.onWindowFocusChanged(z);
if (this.a && z) {
this.a = false;
RVV rvv = this.b;
if (rvv != null) {
rvv.d();
}
}
}
public final void setSpinnerEventsListener(RVV rvv) {
C14957gcv.e(rvv, "");
this.b = rvv;
}
}