forked from organicmaps/organicmaps
[android] Fixed mapobject serialization
This commit is contained in:
parent
63bf65ef65
commit
c76bddaac3
1 changed files with 3 additions and 1 deletions
|
@ -449,10 +449,12 @@ public class MapObject implements Parcelable, PopularityProvider
|
|||
dest.writeInt(mCanBeReviewed ? 1 : 0);
|
||||
dest.writeParcelable(mHotelType, 0);
|
||||
dest.writeInt(mPriceRate);
|
||||
dest.writeParcelable(mPopularity, 0);
|
||||
// All collections are deserialized AFTER non-collection and primitive type objects,
|
||||
// so collections must be always serialized at the end.
|
||||
dest.writeTypedList(mBanners);
|
||||
dest.writeList(mReachableByTaxiTypes);
|
||||
dest.writeTypedList(mRatings);
|
||||
dest.writeParcelable(mPopularity, 0);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue