mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-26 17:12:31 -06:00
41 lines
1.4 KiB
Java
41 lines
1.4 KiB
Java
|
package androidx.databinding;
|
||
|
|
||
|
import android.os.Parcel;
|
||
|
import android.os.Parcelable;
|
||
|
import java.io.Serializable;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public class ObservableParcelable<T extends Parcelable> extends ObservableField<T> implements Parcelable, Serializable {
|
||
|
public static final Parcelable.Creator<ObservableParcelable> CREATOR = new Parcelable.Creator<ObservableParcelable>() { // from class: androidx.databinding.ObservableParcelable.1
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public ObservableParcelable createFromParcel(Parcel parcel) {
|
||
|
return new ObservableParcelable(parcel.readParcelable(getClass().getClassLoader()));
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: Can't rename method to resolve collision */
|
||
|
@Override // android.os.Parcelable.Creator
|
||
|
public ObservableParcelable[] newArray(int i) {
|
||
|
return new ObservableParcelable[i];
|
||
|
}
|
||
|
};
|
||
|
static final long serialVersionUID = 1;
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public int describeContents() {
|
||
|
return 0;
|
||
|
}
|
||
|
|
||
|
public ObservableParcelable(T t) {
|
||
|
super(t);
|
||
|
}
|
||
|
|
||
|
public ObservableParcelable() {
|
||
|
}
|
||
|
|
||
|
@Override // android.os.Parcelable
|
||
|
public void writeToParcel(Parcel parcel, int i) {
|
||
|
parcel.writeParcelable((Parcelable) get(), 0);
|
||
|
}
|
||
|
}
|