Override public void writeToParcel Parcel dest int flags dest writeVal

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
@Override
public void writeToParcel(Parcel dest, int flags) {
dest.writeValue(get(Columns.COLUMN_TOUR));
dest.writeValue(get(Columns.COLUMN_VERSION));
dest.writeValue(get(Columns.COLUMN_PAYLOAD));
}
private TourCommit(Parcel source) {
put(Columns.COLUMN_TOUR, source.readValue(getClass().getClassLoader()));
put(Columns.COLUMN_VERSION, source.readValue(getClass().getClassLoader()));
put(Columns.COLUMN_PAYLOAD, source.readValue(getClass().getClassLoader()));
}