Java Code Examples for android.os.Parcel.writeStringList()

The following are Jave code examples for showing how to use writeStringList() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: stynico   File: FolderChooserConfig.java   View Source Code Vote up 6 votes
public void writeToParcel(Parcel parcel, int n2)
   {
       byte by2 = 1;
       parcel.writeString(this.title);
       parcel.writeString(this.subtitle);
       parcel.writeStringList(this.roots);
       byte by3 = this.showHidden ? by2 : 0;
       parcel.writeByte(by3);
       byte by4 = this.mustBeWritable ? by2 : 0;
       parcel.writeByte(by4);
       byte by5 = this.expandSingularRoot ? by2 : 0;
       parcel.writeByte(by5);
       if (!this.expandMultipleRoots)
{
           by2 = 0;
       }
       parcel.writeByte(by2);
   }
 
Example 2
Project: anitrend-app   File: ListItem.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeInt(record_id);
    parcel.writeInt(series_id);
    parcel.writeString(list_status);
    parcel.writeString(score);
    parcel.writeInt(score_raw);
    parcel.writeInt(episodes_watched);
    parcel.writeInt(chapters_read);
    parcel.writeInt(volumes_read);
    parcel.writeInt(rewatched);
    parcel.writeInt(reread);
    parcel.writeInt(priority);
    parcel.writeInt(Private);
    parcel.writeInt(hidden_default);
    parcel.writeString(notes);
    parcel.writeStringList(custom_lists);
    parcel.writeString(started_on);
    parcel.writeString(finished_on);
    parcel.writeString(added_time);
    parcel.writeString(updated_time);
    parcel.writeParcelable(anime, i);
    parcel.writeParcelable(manga, i);
}
 
Example 3
Project: GongXianSheng   File: OrderListResponse.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.productUom);
    dest.writeDouble(this.priceUnit);
    dest.writeDouble(this.discount);
    dest.writeDouble(this.returnAmount);
    dest.writeDouble(this.deliveredQty);
    dest.writeDouble(this.priceSubtotal);
    dest.writeInt(this.productID);
    dest.writeDouble(this.tallyingAmount);
    dest.writeInt(this.saleOrderProductID);
    dest.writeString(this.stockType);
    dest.writeString(this.category);
    dest.writeDouble(this.settleAmount);
    dest.writeDouble(this.productUomQty);
    dest.writeStringList(this.lotIDs);
    dest.writeTypedList(this.lotList);
    dest.writeByte(this.isChanged ? (byte) 1 : (byte) 0);
}
 
Example 4
Project: GongXianSheng   File: ReturnOrderListResponse.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(productUom);
    dest.writeDouble(priceUnit);
    dest.writeDouble(tax);
    dest.writeDouble(discount);
    dest.writeDouble(deliveredQty);
    dest.writeDouble(priceSubtotal);
    dest.writeInt(productID);
    dest.writeInt(saleOrderProductID);
    dest.writeDouble(pickupWeight);
    dest.writeDouble(pickupNum);
    dest.writeString(stockType);
    dest.writeString(category);
    dest.writeDouble(productUomQty);
    dest.writeStringList(lotIDs);
    dest.writeTypedList(lotList);
}
 
Example 5
Project: Sega   File: Product.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeInt(productid);
    parcel.writeString(productname);
    parcel.writeString(username);
    parcel.writeString(categoryname);
    parcel.writeString(productaddress);
    parcel.writeString(areaproduct);
    parcel.writeString(productstatus);
    parcel.writeString(productdate);
    parcel.writeStringList(productimage);
    parcel.writeDouble(price);
    parcel.writeString(description);
    parcel.writeString(sharecount);
    parcel.writeParcelable(location, i);
}
 
Example 6
Project: mvvm-template   File: FilterOptionsModel.java   View Source Code Vote up 6 votes
@Override public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.type);
    dest.writeString(this.sort);
    dest.writeString(this.sortDirection);
    dest.writeInt(this.queryMap.size());
    for (Map.Entry<String, String> entry : this.queryMap.entrySet()) {
        dest.writeString(entry.getKey());
        dest.writeString(entry.getValue());
    }
    dest.writeByte(this.isPersonalProfile ? (byte) 1 : (byte) 0);
    dest.writeStringList(this.typesListForPersonalProfile);
    dest.writeStringList(this.typesListForExternalProfile);
    dest.writeStringList(this.typesListForOrganizationProfile);
    dest.writeStringList(this.sortOptionsList);
    dest.writeStringList(this.sortDirectionList);
    dest.writeByte(this.isOrg ? (byte) 1 : (byte) 0);
}
 
Example 7
Project: xlight_android_native   File: DeviceState.java   View Source Code Vote up 6 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(deviceId);
    dest.writeValue(name);
    dest.writeValue(isConnected);
    dest.writeStringList(new ArrayList<>(functions));
    Parcelables.writeSerializableMap(dest, variables);
    dest.writeValue(version);
    dest.writeValue(deviceType != null ? deviceType.name() : null);
    dest.writeValue(platformId);
    dest.writeValue(productId);
    dest.writeValue(cellular);
    dest.writeValue(imei);
    dest.writeValue(currentBuild);
    dest.writeValue(defaultBuild);
    dest.writeValue(ipAddress);
    dest.writeValue(lastAppName);
    dest.writeValue(status);
    dest.writeValue(requiresUpdate);
    dest.writeValue(lastHeard != null ? lastHeard.getTime() : 0);
}
 
Example 8
Project: GongXianSheng   File: TransferResponse.java   View Source Code Vote up 5 votes
@Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.pickingID);
        dest.writeString(this.pickingName);
        dest.writeString(this.date);
        dest.writeString(this.pickingState);
        dest.writeString(this.locationName);
        dest.writeString(this.locationDestName);
//        dest.writeTypedList(this.lines);
        dest.writeStringList(this.stateTracker);
        dest.writeFloat(this.totalPrice);
        dest.writeInt(this.totalNum);
        dest.writeInt(isConfirmed?1:0);
        dest.writeString(this.pickingStateFull);
    }
 
Example 9
Project: q-mail   File: SMimeSignatureResult.java   View Source Code Vote up 5 votes
public void writeToParcel(Parcel dest, int flags) {
    /**
     * NOTE: When adding fields in the process of updating this API, make sure to bump
     * {@link #PARCELABLE_VERSION}.
     */
    dest.writeInt(PARCELABLE_VERSION);
    // Inject a placeholder that will store the parcel size from this point on
    // (not including the size itself).
    int sizePosition = dest.dataPosition();
    dest.writeInt(0);
    int startPosition = dest.dataPosition();
    // version 1
    dest.writeInt(result);
    // signatureOnly is deprecated since version 3. we pass a dummy value for compatibility
    dest.writeByte((byte) 0);
    dest.writeString(primaryUserId);
    dest.writeLong(keyId);
    // version 2
    dest.writeStringList(userIds);
    // version 3
    writeEnumWithNull(dest, senderStatusResult);
    dest.writeStringList(confirmedUserIds);
    // Go back and write the size
    int parcelableSize = dest.dataPosition() - startPosition;
    dest.setDataPosition(sizePosition);
    dest.writeInt(parcelableSize);
    dest.setDataPosition(startPosition + parcelableSize);
}
 
Example 10
Project: Android_watch_magpie   File: MobileClient.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeLong(id);
    out.writeString(username);
    out.writeString(gcmToken);
    out.writeString(firstName);
    out.writeString(lastName);
    out.writeStringList(roles);
}
 
Example 11
Project: Coder   File: Information.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this._id);
    dest.writeString(this.createdAt);
    dest.writeString(this.desc);
    dest.writeString(this.publishedAt);
    dest.writeString(this.source);
    dest.writeString(this.type);
    dest.writeString(this.url);
    dest.writeByte(this.used ? (byte) 1 : (byte) 0);
    dest.writeString(this.who);
    dest.writeStringList(this.images);
}
 
Example 12
Project: BLPlayer   File: VideoDetailData.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeParcelable(this.author_info, flags);
    dest.writeString(this.category);
    dest.writeString(this.category_url);
    dest.writeInt(this.cid);
    dest.writeString(this.create_time);
    dest.writeString(this.desc);
    dest.writeParcelable(this.play_info, flags);
    dest.writeString(this.title);
    dest.writeParcelable(this.video_info, flags);
    dest.writeList(this.relative_list);
    dest.writeStringList(this.tag_list);
}
 
Example 13
Project: kognitivo   File: AccessToken.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(expires.getTime());
    dest.writeStringList(new ArrayList<String>(permissions));
    dest.writeStringList(new ArrayList<String>(declinedPermissions));
    dest.writeString(token);
    dest.writeString(source.name());
    dest.writeLong(lastRefresh.getTime());
    dest.writeString(applicationId);
    dest.writeString(userId);
}
 
Example 14
Project: data-mediator   File: ResultData.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(this.intergers);
    dest.writeList(this.characters);
    dest.writeTypedList(this.intents);
    dest.writeStringArray(this.testStrs);
    dest.writeStringList(this.strs);
}
 
Example 15
Project: anitrend-app   File: Emoji.java   View Source Code Vote up 5 votes
/**
 * Flatten this object in to a Parcel.
 *
 * @param dest  The Parcel in which the object should be written.
 * @param flags Additional flags about how the object should be written.
 *              May be 0 or {@link #PARCELABLE_WRITE_RETURN_VALUE}.
 */
@Override
public void writeToParcel(Parcel dest, int flags) {
	dest.writeString(emoji);
	dest.writeStringList(aliases);
	dest.writeStringList(emoticons);
	dest.writeStringList(tags);
	dest.writeString(hexHtml);
	dest.writeString(decimalHtml);
	dest.writeString(decimalHtmlShort);
	dest.writeString(hexHtmlShort);
	dest.writeString(decimalSurrogateHtml);
}
 
Example 16
Project: bluewatcher   File: GenericAppConfig.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
	dest.writeString(appPackage);
	dest.writeString(appDisplayName);
	dest.writeString(label);
	dest.writeString(prefix);
	dest.writeInt(alertType);
	dest.writeStringList(messageFilters);
}
 
Example 17
Project: GongXianSheng   File: OrderResponse.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest,flags);
    dest.writeDouble(amountTotal);
    dest.writeString(driver);
    dest.writeString(endUnloadDatetime);
    dest.writeString(estimatedDate);
    dest.writeByte((byte) (isTwoUnit ? 1 : 0));
    dest.writeInt(hasReturn);
    dest.writeString(loadingTime);
    dest.writeString(estimatedTime);
    dest.writeString(createDate);
    dest.writeString(startUnloadDatetime);
    dest.writeString(state);
    dest.writeString(receiveUserName);
    dest.writeString(tallyingUserName);
    dest.writeByte((byte) (isDoubleReceive ? 1 : 0));
    dest.writeByte((byte) (unApplyService ? 1 : 0));
    dest.writeDouble(settleAmountTotal);
    dest.writeParcelable(waybill,flags);
    dest.writeInt(hasAttachment);
    dest.writeByte((byte) (isFinishTallying ? 1 : 0));
    dest.writeString(createUserName);
    dest.writeString(orderSettleName);
    dest.writeDouble(publicAmountTotal);
    dest.writeDouble(deliveredQty);
    dest.writeString(confirmationDate);
    dest.writeInt(orderID);
    dest.writeString(name);
    dest.writeString(appraisalUserName);
    dest.writeDouble(amount);
    dest.writeByte((byte) (isToday ? 1 : 0));
    dest.writeString(doneDatetime);
    dest.writeString(deliveryType);
    dest.writeTypedList(lines);
    dest.writeStringList(stateTracker);
    dest.writeStringList(returnOrders);
}
 
Example 18
Project: boohee_v5.6   File: SuccessStory.java   View Source Code Vote up 4 votes
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.category);
    dest.writeStringList(this.items);
}
 
Example 19
Project: NovelReader   File: BookSubSortBean.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(major);
    dest.writeStringList(mins);
}
 
Example 20
Project: BLPlayer   File: VideoDetailData.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.length);
    dest.writeString(this.size);
    dest.writeStringList(this.url_list);
}