Code example for Parcel

Methods: readBundle, readString

0
	private String mResponseText;
 
	public NetHttpSendResult() {} 
	 
	public NetHttpSendResult(Parcel source) {
		mCode = source.readString();
		mHeaders = source.readBundle();
		mResponseText = source.readString();
	} 
	 
	@Override 
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(mCode);
		dest.writeBundle(mHeaders);
		dest.writeString(mResponseText);
	} 
	 
	@Exclude 
	public static final Parcelable.Creator<NetHttpSendResult> CREATOR = new Parcelable.Creator<NetHttpSendResult>() {
        @Override 
        public NetHttpSendResult createFromParcel(Parcel source) {