Rabbit-R1/original r1/java/sources/androidx/databinding/ObservableList.java
2024-05-21 17:08:36 -04:00

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