package o; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView.zJl; import java.util.List; import o.CPd; import o.HOS; import o.XRa; /* loaded from: classes.dex */ public abstract class Ran extends RecyclerView.Sts { final CPd mDiffer; private final CPd.HBt mListener; public void onCurrentListChanged(List list, List list2) { } public Ran(HOS.IeS ieS) { CPd.HBt hBt = new CPd.HBt(this) { // from class: o.Ran.4 final Ran d; { this.d = this; } @Override // o.CPd.HBt public final void b(List list, List list2) { this.d.onCurrentListChanged(list, list2); } }; this.mListener = hBt; CPd cPd = new CPd<>(new gFq(this), new XRa.IeS(ieS).e()); this.mDiffer = cPd; cPd.b.add(hBt); } protected Ran(XRa xRa) { CPd.HBt hBt = new CPd.HBt(this) { // from class: o.Ran.4 final Ran d; { this.d = this; } @Override // o.CPd.HBt public final void b(List list, List list2) { this.d.onCurrentListChanged(list, list2); } }; this.mListener = hBt; CPd cPd = new CPd<>(new gFq(this), xRa); this.mDiffer = cPd; cPd.b.add(hBt); } public void submitList(List list, Runnable runnable) { this.mDiffer.d(list, runnable); } public List getCurrentList() { return this.mDiffer.f; } /* JADX INFO: Access modifiers changed from: protected */ public T getItem(int i) { return this.mDiffer.f.get(i); } @Override // androidx.recyclerview.widget.RecyclerView.Sts public int getItemCount() { return this.mDiffer.f.size(); } public void submitList(List list) { this.mDiffer.d(list, null); } }