Update docs: readFromParcel() is not necessary to make a class support

Parcelable.
This commit is contained in:
Nick Pelly
2009-08-16 15:29:17 -07:00
parent fd0d627569
commit a260f3f725

View File

@@ -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>