Rabbit-R1/android (non root)/java/sources/androidx/databinding/ObservableParcelable.java
2024-05-21 17:08:36 -04:00

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