Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOException error fix #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
package com.byox.drawview.dictionaries;

import android.annotation.SuppressLint;
import android.graphics.Bitmap;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Path;
import android.os.Parcel;
import android.os.Parcelable;

import com.byox.drawview.enums.BackgroundScale;
import com.byox.drawview.enums.BackgroundType;
Expand All @@ -25,7 +28,8 @@
* @author Ing. Oscar G. Medina Cruz
*/

public class DrawMove implements Serializable {
@SuppressLint("ParcelCreator")
public class DrawMove implements Serializable , Parcelable {

private static DrawMove mSingleton;

Expand Down Expand Up @@ -166,4 +170,13 @@ public DrawMove setBackgroundImage(byte[] backgroundImage, Matrix backgroundMatr
return mSingleton;
} else throw new RuntimeException("Create new instance of DrawMove first!");
}

@Override
public int describeContents() {
return 0;
}

@Override
public void writeToParcel(Parcel parcel, int i) {
}
}