siyamed / android-satellite-menu

Android Satellite Menu
1.4k stars 644 forks source link

android.os.BadParcelableException: ClassNotFoundException when unmarshalling #12

Open ElexZhuo opened 11 years ago

ElexZhuo commented 11 years ago

when use other app so long time.Click Home to restart my app,

it cause:

android.os.BadParcelableException: ClassNotFoundException when unmarshalling

sharmapraveen91 commented 10 years ago

I am also facing this issue.
did you find any solution for it??

daiye830505 commented 10 years ago

line527 @Override public void writeToParcel(Parcel out, int flags) {

        super.writeToParcel(out, flags);      // please add this code 请加上这行代码

        out.writeString(Boolean.toString(rotated));
        out.writeFloat(totalSpacingDegree);
        out.writeInt(satelliteDistance);
        out.writeInt(measureDiff);
        out.writeInt(expandDuration);
        out.writeString(Boolean.toString(closeItemsOnClick));
    }