Code example for Parcel

Methods: readInt

0
		mColor = color;
		mNumber = number;
	} 
 
	public NumberedSpan(int number, Parcel src) {
		mGapWidth = src.readInt();
		mWantColor = src.readInt() != 0;
		mColor = src.readInt();
		mNumber = number;
	} 
 
	public int getSpanTypeId() { 
		return Constants.NUMBERED_SPAN; 
	} 
 
	public int describeContents() { 
		return 0; 
	} 
 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeInt(mGapWidth);