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

22 lines
1 KiB
Java

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