Skip to content

Instantly share code, notes, and snippets.

@LeastFixedPoint
Created October 5, 2013 15:06
Show Gist options
  • Save LeastFixedPoint/6842044 to your computer and use it in GitHub Desktop.
Save LeastFixedPoint/6842044 to your computer and use it in GitHub Desktop.
public static final Creator<${enclosing_type}> CREATOR = new Creator<${enclosing_type}>() {
@Override
public ${enclosing_type} createFromParcel(Parcel source) {
return new ${enclosing_type}();
}
@Override
public ${enclosing_type}[] newArray(int size) {
return new ${enclosing_type}[size];
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment