package androidx.databinding; import android.os.Parcel; import android.os.Parcelable; import java.io.Serializable; /* loaded from: classes.dex */ public class ObservableChar extends BaseObservableField implements Parcelable, Serializable { public static final Parcelable.Creator CREATOR = new Parcelable.Creator() { // from class: androidx.databinding.ObservableChar.1 /* JADX WARN: Can't rename method to resolve collision */ @Override // android.os.Parcelable.Creator public ObservableChar createFromParcel(Parcel parcel) { return new ObservableChar((char) parcel.readInt()); } /* JADX WARN: Can't rename method to resolve collision */ @Override // android.os.Parcelable.Creator public ObservableChar[] newArray(int i) { return new ObservableChar[i]; } }; static final long serialVersionUID = 1; private char mValue; @Override // android.os.Parcelable public int describeContents() { return 0; } public char get() { return this.mValue; } public ObservableChar(char c) { this.mValue = c; } public ObservableChar() { } public ObservableChar(Observable... observableArr) { super(observableArr); } public void set(char c) { if (c != this.mValue) { this.mValue = c; notifyChange(); } } @Override // android.os.Parcelable public void writeToParcel(Parcel parcel, int i) { parcel.writeInt(this.mValue); } }