Rabbit-R1/android (non root)/java/sources/androidx/databinding/ObservableList.java

25 lines
903 B
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
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);
}