35 lines
956 B
Java
35 lines
956 B
Java
package o;
|
|
|
|
import com.scb.phone.view.adapter.BaseHorizontalBubbleAdapter;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.ezp, reason: case insensitive filesystem */
|
|
/* loaded from: classes5.dex */
|
|
public final class C12525ezp extends BaseHorizontalBubbleAdapter {
|
|
private boolean a;
|
|
private Double d;
|
|
|
|
public C12525ezp(List<Integer> list, Double d) {
|
|
super(list, null);
|
|
this.a = false;
|
|
this.d = d;
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.RecyclerView.Sts
|
|
public final int getItemViewType(int i) {
|
|
if (i == this.b) {
|
|
return 0;
|
|
}
|
|
return (this.a || ((double) this.e.get(i).intValue()) <= this.d.doubleValue()) ? 1 : 2;
|
|
}
|
|
|
|
public final void a(Double d, boolean z) {
|
|
this.d = d;
|
|
this.a = z;
|
|
if (!z && this.b != -1 && this.e.get(this.b).intValue() > d.doubleValue()) {
|
|
this.b = -1;
|
|
}
|
|
notifyDataSetChanged();
|
|
}
|
|
}
|