Rabbit-R1/android (non root)/java/sources/androidx/databinding/PropertyChangeRegistry.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.Observable;
/* loaded from: classes.dex */
public class PropertyChangeRegistry extends CallbackRegistry<Observable.OnPropertyChangedCallback, Observable, Void> {
private static final CallbackRegistry.NotifierCallback<Observable.OnPropertyChangedCallback, Observable, Void> NOTIFIER_CALLBACK = new CallbackRegistry.NotifierCallback<Observable.OnPropertyChangedCallback, Observable, Void>() { // from class: androidx.databinding.PropertyChangeRegistry.1
@Override // androidx.databinding.CallbackRegistry.NotifierCallback
public void onNotifyCallback(Observable.OnPropertyChangedCallback onPropertyChangedCallback, Observable observable, int i, Void r4) {
onPropertyChangedCallback.onPropertyChanged(observable, i);
}
};
public PropertyChangeRegistry() {
super(NOTIFIER_CALLBACK);
}
public void notifyChange(Observable observable, int i) {
notifyCallbacks(observable, i, null);
}
}