Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 736c24a8 authored by Android (Google) Code Review's avatar Android (Google) Code Review
Browse files

Merge change 21516 into eclair

* changes:
  Update docs: readFromParcel() is not necessary to make a class support Parcelable.
parents 5fe1afe9 a260f3f7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -194,7 +194,6 @@ started.</p>
<li>Make your class implement the {@link android.os.Parcelable} interface.</li>
<li>Implement the method <code>public void writeToParcel(Parcel out)</code> that takes the
current state of the object and writes it to a parcel.</li>
<li>Implement the method <code>public void readFromParcel(Parcel in)</code> that reads the
value in a parcel into your object.</li>
<li>Add a static field called <code>CREATOR</code> to your class which is an object implementing
the {@link android.os.Parcelable.Creator Parcelable.Creator} interface.</li>