Code example for Parcel

Methods: writeDoublewriteInt

0
		// TODO Auto-generated method stub 
		return 0; 
	} 
 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(session);
		dest.writeInt(roundno);
		dest.writeInt(arrows);
		dest.writeInt(roundsum);
		dest.writeDouble(average);
 
	} 
 
	private void readFromParcel(Parcel in) {
		session = in.readInt();
		roundno = in.readInt();
		arrows = in.readInt();
		roundsum = in.readInt();
		average = in.readDouble();
 
Experience pair programming with AI  Get Codota for Java