@@ -0,0 +1,1479 @@
+package org.sana.android.content.core;%0A%0Aimport android.os.Parcel;%0Aimport android.os.Parcelable;%0A%0Aimport org.sana.android.util.Dates;%0Aimport org.sana.core.Location;%0Aimport org.sana.util.DateUtil;%0A%0A/**%0A * Created by winkler.em@gmail.com, on 12/13/2016.%0A */%0Apublic class LocationParcel extends Location implements Parcelable %7B%0A    public static final String TAG = LocationParcel.class.getSimpleName();%0A%0A    protected LocationParcel(Parcel in) %7B%0A    %7D%0A%0A    public LocationParcel()%7B%0A        super();%0A    %7D%0A%0A    public LocationParcel(Location location)%7B%0A        setUuid(location.getUuid());%0A        setCreated(location.getCreated());%0A        setModified(location.getModified());%0A        setName(location.getName());%0A        code = location.code;%0A    %7D%0A%0A    public static final Creator%3CLocationParcel%3E CREATOR = new Creator%3CLocationParcel%3E() %7B%0A        @Override%0A        public LocationParcel createFromParcel(Parcel in) %7B%0A            return new LocationParcel(in);%0A        %7D%0A%0A        @Override%0A        public LocationParcel%5B%5D newArray(int size) %7B%0A            return new LocationParcel%5Bsize%5D;%0A        %7D%0A    %7D;%0A%0A    @Override%0A    public int describeContents() %7B%0A        return 0;%0A    %7D%0A%0A    @Override%0A    public void writeToParcel(Parcel dest, int flags) %7B%0A        dest.writeString(getUuid());%0A        dest.writeString(DateUtil.format(getCreated()));%0A        dest.writeString(DateUtil.format(getModified()));%0A        dest.writeString(getName());%0A        dest.writeInt(this.code);%0A    %7D%0A%7D%0A

Add location Parcelable