Rabbit-R1/original r1/java/sources/androidx/recyclerview/widget/ThreadUtil.java

32 lines
823 B
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.recyclerview.widget;
import androidx.recyclerview.widget.TileList;
/* loaded from: classes2.dex */
interface ThreadUtil<T> {
/* loaded from: classes2.dex */
public interface BackgroundCallback<T> {
void loadTile(int i, int i2);
void recycleTile(TileList.Tile<T> tile);
void refresh(int i);
void updateRange(int i, int i2, int i3, int i4, int i5);
}
/* loaded from: classes2.dex */
public interface MainThreadCallback<T> {
void addTile(int i, TileList.Tile<T> tile);
void removeTile(int i, int i2);
void updateItemCount(int i, int i2);
}
BackgroundCallback<T> getBackgroundProxy(BackgroundCallback<T> backgroundCallback);
MainThreadCallback<T> getMainThreadProxy(MainThreadCallback<T> mainThreadCallback);
}