Code example for Parcel

Methods: writeFloatwriteInt

0
		} 
 
		@Override 
		public void writeToParcel(Parcel dest, int flags) {
			super.writeToParcel(dest, flags);
			dest.writeInt(activeDotIndex);
			dest.writeFloat(dotRadius);
			dest.writeFloat(dotSpacing);
			dest.writeInt(dotNumber);
			dest.writeInt(dotColor);
		} 
 
		public static final Parcelable.Creator<SavedState> CREATOR = new Creator<PageIndicator.SavedState>() {
 
			@Override 
			public SavedState[] newArray(int size) { 
				return new SavedState[size]; 
			} 
 
			@Override 
3
CodeRank