Code example for Parcel

Methods: writeString, writeStringList

0
		return 0; 
	} 
 
	@Override 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(name);
		dest.writeString(description);
		dest.writeString(url);
		dest.writeStringList(dependencyUpdateNames);
	} 
 
    public static final Parcelable.Creator<Update> CREATOR = new Parcelable.Creator<Update>() {
        @Override 
		public Update createFromParcel(Parcel in) { 
            return new Update(in); 
        } 
 
        @Override 
		public Update[] newArray(int size) { 
            return new Update[size]; 
        }