diff --git a/drawview/src/main/java/com/byox/drawview/dictionaries/DrawMove.java b/drawview/src/main/java/com/byox/drawview/dictionaries/DrawMove.java index 2f072c3..e40330d 100644 --- a/drawview/src/main/java/com/byox/drawview/dictionaries/DrawMove.java +++ b/drawview/src/main/java/com/byox/drawview/dictionaries/DrawMove.java @@ -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; @@ -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; @@ -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) { + } }