mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-25 16:42:30 -06:00
32 lines
1 KiB
Java
32 lines
1 KiB
Java
package androidx.recyclerview.widget;
|
|
|
|
import androidx.recyclerview.widget.RecyclerView;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class AdapterListUpdateCallback implements ListUpdateCallback {
|
|
private final RecyclerView.Adapter mAdapter;
|
|
|
|
public AdapterListUpdateCallback(RecyclerView.Adapter adapter) {
|
|
this.mAdapter = adapter;
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.ListUpdateCallback
|
|
public void onInserted(int i, int i2) {
|
|
this.mAdapter.notifyItemRangeInserted(i, i2);
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.ListUpdateCallback
|
|
public void onRemoved(int i, int i2) {
|
|
this.mAdapter.notifyItemRangeRemoved(i, i2);
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.ListUpdateCallback
|
|
public void onMoved(int i, int i2) {
|
|
this.mAdapter.notifyItemMoved(i, i2);
|
|
}
|
|
|
|
@Override // androidx.recyclerview.widget.ListUpdateCallback
|
|
public void onChanged(int i, int i2, Object obj) {
|
|
this.mAdapter.notifyItemRangeChanged(i, i2, obj);
|
|
}
|
|
}
|