mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 18:12:31 -06:00
30 lines
954 B
Java
30 lines
954 B
Java
package androidx.databinding;
|
|
|
|
import androidx.databinding.Observable;
|
|
|
|
/* loaded from: classes.dex */
|
|
abstract class BaseObservableField extends BaseObservable {
|
|
public BaseObservableField() {
|
|
}
|
|
|
|
public BaseObservableField(Observable... observableArr) {
|
|
if (observableArr == null || observableArr.length == 0) {
|
|
return;
|
|
}
|
|
DependencyCallback dependencyCallback = new DependencyCallback();
|
|
for (Observable observable : observableArr) {
|
|
observable.addOnPropertyChangedCallback(dependencyCallback);
|
|
}
|
|
}
|
|
|
|
/* loaded from: classes.dex */
|
|
class DependencyCallback extends Observable.OnPropertyChangedCallback {
|
|
DependencyCallback() {
|
|
}
|
|
|
|
@Override // androidx.databinding.Observable.OnPropertyChangedCallback
|
|
public void onPropertyChanged(Observable observable, int i) {
|
|
BaseObservableField.this.notifyChange();
|
|
}
|
|
}
|
|
}
|