Rabbit-R1/android (non root)/java/sources/androidx/recyclerview/widget/ThreadUtil.java
2024-05-21 17:08:36 -04:00

31 lines
823 B
Java

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);
}