Skip to content

Instantly share code, notes, and snippets.

@codeprogression
Created March 7, 2014 15:53
Show Gist options
  • Save codeprogression/9414078 to your computer and use it in GitHub Desktop.
Save codeprogression/9414078 to your computer and use it in GitHub Desktop.
Android Studio Live Templates
public $CLASS$(Parcel in){
}
@Override
public void writeToParcel(Parcel dest, int flags) {
}
public static final Parcelable.Creator<$CLASS$> CREATOR = new Parcelable.Creator<$CLASS$>() {
@Override
public $CLASS$ createFromParcel(Parcel in) {
return new $CLASS$(in);
}
@Override
public $CLASS$[] newArray(int size) {
return new $CLASS$[size];
}
};
@Override
public int describeContents() {
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment