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

23 lines
1 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package androidx.databinding;
import androidx.databinding.CallbackRegistry;
import androidx.databinding.ObservableMap;
/* loaded from: classes.dex */
public class MapChangeRegistry extends CallbackRegistry<ObservableMap.OnMapChangedCallback, ObservableMap, Object> {
private static CallbackRegistry.NotifierCallback<ObservableMap.OnMapChangedCallback, ObservableMap, Object> NOTIFIER_CALLBACK = new CallbackRegistry.NotifierCallback<ObservableMap.OnMapChangedCallback, ObservableMap, Object>() { // from class: androidx.databinding.MapChangeRegistry.1
@Override // androidx.databinding.CallbackRegistry.NotifierCallback
public void onNotifyCallback(ObservableMap.OnMapChangedCallback onMapChangedCallback, ObservableMap observableMap, int i, Object obj) {
onMapChangedCallback.onMapChanged(observableMap, obj);
}
};
public MapChangeRegistry() {
super(NOTIFIER_CALLBACK);
}
public void notifyChange(ObservableMap observableMap, Object obj) {
notifyCallbacks(observableMap, 0, obj);
}
}