當前位置: 首頁>>代碼示例>>Java>>正文


Java Parcel.writeStringList方法代碼示例

本文整理匯總了Java中android.os.Parcel.writeStringList方法的典型用法代碼示例。如果您正苦於以下問題:Java Parcel.writeStringList方法的具體用法?Java Parcel.writeStringList怎麽用?Java Parcel.writeStringList使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.writeStringList方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
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);
   }
 
開發者ID:stytooldex,項目名稱:stynico,代碼行數:19,代碼來源:FolderChooserConfig.java

示例2: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:wax911,項目名稱:anitrend-app,代碼行數:25,代碼來源:ListItem.java

示例3: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:ebridfighter,項目名稱:GongXianSheng,代碼行數:20,代碼來源:OrderListResponse.java

示例4: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:ebridfighter,項目名稱:GongXianSheng,代碼行數:19,代碼來源:ReturnOrderListResponse.java

示例5: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:sega4revenge,項目名稱:Sega,代碼行數:17,代碼來源:Product.java

示例6: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:duyp,項目名稱:mvvm-template,代碼行數:18,代碼來源:FilterOptionsModel.java

示例7: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:Datatellit,項目名稱:xlight_android_native,代碼行數:22,代碼來源:DeviceState.java

示例8: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
    }
 
開發者ID:ebridfighter,項目名稱:GongXianSheng,代碼行數:16,代碼來源:TransferResponse.java

示例9: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
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);
}
 
開發者ID:philipwhiuk,項目名稱:q-mail,代碼行數:29,代碼來源:SMimeSignatureResult.java

示例10: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:kflauri2312lffds,項目名稱:Android_watch_magpie,代碼行數:10,代碼來源:MobileClient.java

示例11: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:penghongru,項目名稱:Coder,代碼行數:14,代碼來源:Information.java

示例12: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:TongmingWu,項目名稱:BLPlayer,代碼行數:15,代碼來源:VideoDetailData.java

示例13: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:eviltnan,項目名稱:kognitivo,代碼行數:12,代碼來源:AccessToken.java

示例14: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@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);
}
 
開發者ID:LightSun,項目名稱:data-mediator,代碼行數:9,代碼來源:ResultData.java

示例15: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
/**
 * 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);
}
 
開發者ID:wax911,項目名稱:anitrend-app,代碼行數:20,代碼來源:Emoji.java


注:本文中的android.os.Parcel.writeStringList方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。