Code example for Parcel

Methods: readDouble, readInt, readLong, readString

0
	} 
	 
	public DayPrecipitation(Parcel source) {
		super(); 
		 
		mProbability = source.readDouble();
		 
		mType = source.readString();
		 
		mTemp = source.readInt();
		 
		mTime = source.readLong();
	} 
 
	@Override 
	public int describeContents() { 
		return 0; 
	} 
 
	@Override 
	public void writeToParcel( Parcel dest, int flags ) {