当前位置: 首页>>代码示例>>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;未经允许,请勿转载。