Skip to content

Instantly share code, notes, and snippets.

@miroslavign
Created May 11, 2017 16:30
Show Gist options
  • Select an option

  • Save miroslavign/53d9e08980f860edf306816f7360f1a7 to your computer and use it in GitHub Desktop.

Select an option

Save miroslavign/53d9e08980f860edf306816f7360f1a7 to your computer and use it in GitHub Desktop.
It is faster the Parcelable if we implement the custom methods like for parcelable
private void writeObject(java.io.ObjectOutputStream out)
throws IOException;
private void readObject(java.io.ObjectInputStream in)
throws IOException, ClassNotFoundException;
private void readObjectNoData()
throws ObjectStreamException;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment