Code example for Parcel

Methods: readFloat

0
	private static class SavedState extends BaseSavedState {
		float value;
 
		public SavedState(Parcel source) {
			super(source);
			value = source.readFloat();
		} 
 
		@Override public void writeToParcel(Parcel dest, int flags) {
			super.writeToParcel(dest, flags);
			dest.writeFloat(value);
		} 
 
		public SavedState(Parcelable superState) {
			super(superState);
		} 
 
		@SuppressWarnings("unused") public static final Parcelable.Creator<SavedState> CREATOR = new Parcelable.Creator<SavedState>() {
			@Override public SavedState createFromParcel(Parcel in) { 
				return new SavedState(in); 
Connect your IDE to all the code out there  Get Codota for Java