From a260f3f725c2addef98329b4a04756aa95eb722d Mon Sep 17 00:00:00 2001 From: Nick Pelly Date: Sun, 16 Aug 2009 15:29:17 -0700 Subject: [PATCH] Update docs: readFromParcel() is not necessary to make a class support Parcelable. --- docs/html/guide/developing/tools/aidl.jd | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/html/guide/developing/tools/aidl.jd b/docs/html/guide/developing/tools/aidl.jd index f370a804a4017..abfa8b17ad4f8 100644 --- a/docs/html/guide/developing/tools/aidl.jd +++ b/docs/html/guide/developing/tools/aidl.jd @@ -194,7 +194,6 @@ started.

  • Make your class implement the {@link android.os.Parcelable} interface.
  • Implement the method public void writeToParcel(Parcel out) that takes the current state of the object and writes it to a parcel.
  • -
  • Implement the method public void readFromParcel(Parcel in) that reads the value in a parcel into your object.
  • Add a static field called CREATOR to your class which is an object implementing the {@link android.os.Parcelable.Creator Parcelable.Creator} interface.