Code example for Parcel

Methods: readIntreadParcelable

0
    public static final Parcelable.Creator<TaskDecoration> CREATOR = new Parcelable.Creator<TaskDecoration>() {
        /** 
         * {@inheritDoc} 
         */ 
        public TaskDecoration createFromParcel(Parcel source) { 
            return new TaskDecoration((RemoteViews)source.readParcelable( 
                    RemoteViews.class.getClassLoader()), 
                    source.readInt(), source.readInt()); 
        } 
 
        /** 
         * {@inheritDoc} 
         */ 
        public TaskDecoration[] newArray(int size) { 
            return new TaskDecoration[size]; 
        }; 
    }; 
 
} 
Connect your IDE to all the code out there  Get Codota for Java