mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 18:12:31 -06:00
25 lines
903 B
Java
25 lines
903 B
Java
|
package androidx.databinding;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public interface ObservableList<T> extends List<T> {
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public static abstract class OnListChangedCallback<T extends ObservableList> {
|
||
|
public abstract void onChanged(T sender);
|
||
|
|
||
|
public abstract void onItemRangeChanged(T sender, int positionStart, int itemCount);
|
||
|
|
||
|
public abstract void onItemRangeInserted(T sender, int positionStart, int itemCount);
|
||
|
|
||
|
public abstract void onItemRangeMoved(T sender, int fromPosition, int toPosition, int itemCount);
|
||
|
|
||
|
public abstract void onItemRangeRemoved(T sender, int positionStart, int itemCount);
|
||
|
}
|
||
|
|
||
|
void addOnListChangedCallback(OnListChangedCallback<? extends ObservableList<T>> callback);
|
||
|
|
||
|
void removeOnListChangedCallback(OnListChangedCallback<? extends ObservableList<T>> callback);
|
||
|
}
|