当前位置: 首页>>代码示例>>Java>>正文


Java Parcel.createStringArrayList方法代码示例

本文整理汇总了Java中android.os.Parcel.createStringArrayList方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.createStringArrayList方法的具体用法?Java Parcel.createStringArrayList怎么用?Java Parcel.createStringArrayList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.createStringArrayList方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: SMimeSignatureResult

import android.os.Parcel; //导入方法依赖的package包/类
private SMimeSignatureResult(Parcel source, int version) {
    this.result = source.readInt();
    // we dropped support for signatureOnly, but need to skip the value for compatibility
    source.readByte();
    this.primaryUserId = source.readString();
    this.keyId = source.readLong();

    if (version > 1) {
        this.userIds = source.createStringArrayList();
    } else {
        this.userIds = null;
    }
    if (version > 2) {
        this.senderStatusResult = readEnumWithNullAndFallback(
                source, SenderStatusResult.VALUES, SenderStatusResult.UNKNOWN);
        this.confirmedUserIds = source.createStringArrayList();
    } else {
        this.senderStatusResult = SenderStatusResult.UNKNOWN;
        this.confirmedUserIds = null;
    }
}
 
开发者ID:philipwhiuk,项目名称:q-mail,代码行数:22,代码来源:SMimeSignatureResult.java

示例2: OpenPgpSignatureResult

import android.os.Parcel; //导入方法依赖的package包/类
private OpenPgpSignatureResult(Parcel source, int version) {
    this.result = source.readInt();
    // we dropped support for signatureOnly, but need to skip the value for compatibility
    source.readByte();
    this.primaryUserId = source.readString();
    this.keyId = source.readLong();

    if (version > 1) {
        this.userIds = source.createStringArrayList();
    } else {
        this.userIds = null;
    }
    if (version > 2) {
        this.senderStatusResult = readEnumWithNullAndFallback(
                source, SenderStatusResult.VALUES, SenderStatusResult.UNKNOWN);
        this.confirmedUserIds = source.createStringArrayList();
    } else {
        this.senderStatusResult = SenderStatusResult.UNKNOWN;
        this.confirmedUserIds = null;
    }
}
 
开发者ID:philipwhiuk,项目名称:q-mail,代码行数:22,代码来源:OpenPgpSignatureResult.java

示例3: Doc

import android.os.Parcel; //导入方法依赖的package包/类
protected Doc(Parcel in) {
    this.fromTime = (Double) in.readValue(Double.class.getClassLoader());
    this.toTime = (Double) in.readValue(Double.class.getClassLoader());
    this.atTime = (Double) in.readValue(Double.class.getClassLoader());
    this.episode = in.readString();
    this.similarity = (Double) in.readValue(Double.class.getClassLoader());
    this.anilistId = (Integer) in.readValue(Integer.class.getClassLoader());
    this.japaneseTitle = in.readString();
    this.englishTitle = in.readString();
    this.romanjiTitle = in.readString();
    this.synonyms = in.createStringArrayList();
    this.season = in.readString();
    this.anime = in.readString();
    this.fileName = in.readString();
    this.tokenThumb = in.readString();
}
 
开发者ID:maddog05,项目名称:whatanime-android,代码行数:17,代码来源:SearchDetail.java

示例4: Movie

import android.os.Parcel; //导入方法依赖的package包/类
protected Movie(Parcel in) {
    this.posterPath = in.readString();
    this.backdropPath = in.readString();
    this.overview = in.readString();
    this.releaseDate = in.readString();
    this.originalTitle = in.readString();
    this.title = in.readString();
    this.tagline = in.readString();
    this.homepage = in.readString();
    this.id = in.readLong();
    this.popularity = in.readDouble();
    this.voteCount = in.readInt();
    this.voteAverage = in.readDouble();
    this.isForAdults = in.readByte() != 0;
    this.hasVideo = in.readByte() != 0;
    this.isFav = in.readByte() != 0;
    this.isWannaWatch = in.readByte() != 0;
    this.isWatched = in.readByte() != 0;
    this.genres = in.createStringArrayList();
    this.productionCompanies = in.createStringArrayList();
}
 
开发者ID:JonathandelaSen,项目名称:TheMovies,代码行数:22,代码来源:Movie.java

示例5: FilterOptionsModel

import android.os.Parcel; //导入方法依赖的package包/类
private FilterOptionsModel(Parcel in) {
    this.type = in.readString();
    this.sort = in.readString();
    this.sortDirection = in.readString();
    int queryMapSize = in.readInt();
    this.queryMap = new HashMap<String, String>(queryMapSize);
    for (int i = 0; i < queryMapSize; i++) {
        String key = in.readString();
        String value = in.readString();
        this.queryMap.put(key, value);
    }
    this.isPersonalProfile = in.readByte() != 0;
    this.typesListForPersonalProfile = in.createStringArrayList();
    this.typesListForExternalProfile = in.createStringArrayList();
    this.typesListForOrganizationProfile = in.createStringArrayList();
    this.sortOptionsList = in.createStringArrayList();
    this.sortDirectionList = in.createStringArrayList();
    this.isOrg = in.readByte() != 0;
}
 
开发者ID:duyp,项目名称:mvvm-template,代码行数:20,代码来源:FilterOptionsModel.java

示例6: ListBean

import android.os.Parcel; //导入方法依赖的package包/类
protected ListBean(Parcel in) {
    orderID = in.readInt();
    doneDate = in.readString();
    name = in.readString();
    isTwoUnit = in.readByte() != 0;
    doneDtate = in.readString();
    driver = in.readString();
    createDate = in.readString();
    createUser = in.readString();
    amount = in.readDouble();
    amountTotal = in.readDouble();
    state = in.readString();
    loadingDate = in.readString();
    vehicle = in.readString();
    isDispatch = in.readByte() != 0;
    returnOrderID = in.readInt();
    driveMobile = in.readString();
    deliveryType = in.readString();
    hasAttachment = in.readInt();
    returnThirdPartLog = in.readByte() != 0;
    lines = in.createTypedArrayList(LinesBean.CREATOR);
    stateTracker = in.createStringArrayList();
}
 
开发者ID:ebridfighter,项目名称:GongXianSheng,代码行数:24,代码来源:ReturnOrderListResponse.java

示例7: ListBean

import android.os.Parcel; //导入方法依赖的package包/类
protected ListBean(Parcel in) {
    amountTotal = in.readDouble();
    endUnloadDatetime = in.readString();
    driver = in.readString();
    estimatedDate = in.readString();
    isTwoUnit = in.readByte() != 0;
    hasReturn = in.readInt();
    loadingTime = in.readString();
    estimatedTime = in.readString();
    createDate = in.readString();
    startUnloadDatetime = in.readString();
    state = in.readString();
    receiveUserName = in.readString();
    tallyingUserName = in.readString();
    isDoubleReceive = in.readByte() != 0;
    unApplyService = in.readByte() != 0;
    settleAmountTotal = in.readDouble();
    waybill = in.readParcelable(WaybillBean.class.getClassLoader());
    hasAttachment = in.readInt();
    isFinishTallying = in.readByte() != 0;
    createUserName = in.readString();
    orderSettleName = in.readString();
    publicAmountTotal = in.readDouble();
    deliveredQty = in.readDouble();
    confirmationDate = in.readString();
    orderID = in.readInt();
    name = in.readString();
    appraisalUserName = in.readString();
    amount = in.readDouble();
    isToday = in.readByte() != 0;
    doneDatetime = in.readString();
    deliveryType = in.readString();
    lines = in.createTypedArrayList(LinesBean.CREATOR);
    stateTracker = in.createStringArrayList();
    returnOrders = in.createStringArrayList();
}
 
开发者ID:ebridfighter,项目名称:GongXianSheng,代码行数:37,代码来源:OrderListResponse.java

示例8: News

import android.os.Parcel; //导入方法依赖的package包/类
protected News(Parcel in) {
    super(in);
    type = in.readString();
    sourceId = in.readInt();
    source = in.readParcelable(sourceId > 0 ? User.class.getClassLoader() : Community.class.getClassLoader());
    postType = in.readString();
    finalPost = in.readByte() != 0;
    copyOwnerId = in.readInt();
    copyPostId = in.readInt();
    copyPostDate = in.readLong();
    date = in.readLong();
    postId = in.readInt();
    copyHistory = in.createTypedArrayList(Post.CREATOR);
    text = in.readString();
    canEdit = in.readByte() != 0;
    canDelete = in.readByte() != 0;
    commentCount = in.readInt();
    commentCanPost = in.readByte() != 0;
    likeCount = in.readInt();
    userLike = in.readByte() != 0;
    canLike = in.readByte() != 0;
    canPublish = in.readByte() != 0;
    repostsCount = in.readInt();
    userReposted = in.readByte() != 0;
    attachments = in.readParcelable(Attachments.class.getClassLoader());
    friends = in.createStringArrayList();
    viewCount = in.readInt();
}
 
开发者ID:PhoenixDevTeam,项目名称:Phoenix-for-VK,代码行数:29,代码来源:News.java

示例9: BackStackState

import android.os.Parcel; //导入方法依赖的package包/类
public BackStackState(Parcel in) {
    this.mOps = in.createIntArray();
    this.mTransition = in.readInt();
    this.mTransitionStyle = in.readInt();
    this.mName = in.readString();
    this.mIndex = in.readInt();
    this.mBreadCrumbTitleRes = in.readInt();
    this.mBreadCrumbTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mBreadCrumbShortTitleRes = in.readInt();
    this.mBreadCrumbShortTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mSharedElementSourceNames = in.createStringArrayList();
    this.mSharedElementTargetNames = in.createStringArrayList();
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:14,代码来源:BackStackState.java

示例10: VideoDetailData

import android.os.Parcel; //导入方法依赖的package包/类
protected VideoDetailData(Parcel in) {
    this.author_info = in.readParcelable(AuthorInfoBean.class.getClassLoader());
    this.category = in.readString();
    this.category_url = in.readString();
    this.cid = in.readInt();
    this.create_time = in.readString();
    this.desc = in.readString();
    this.play_info = in.readParcelable(PlayInfoBean.class.getClassLoader());
    this.title = in.readString();
    this.video_info = in.readParcelable(VideoInfoBean.class.getClassLoader());
    this.relative_list = new ArrayList<VideoItem>();
    in.readList(this.relative_list, VideoItem.class.getClassLoader());
    this.tag_list = in.createStringArrayList();
}
 
开发者ID:TongmingWu,项目名称:BLPlayer,代码行数:15,代码来源:VideoDetailData.java

示例11: MobileClient

import android.os.Parcel; //导入方法依赖的package包/类
private MobileClient(Parcel in) {
    id = in.readLong();
    username = in.readString();
    gcmToken = in.readString();
    firstName = in.readString();
    lastName = in.readString();
    roles = in.createStringArrayList();
}
 
开发者ID:kflauri2312lffds,项目名称:Android_watch_magpie,代码行数:9,代码来源:MobileClient.java

示例12: Emoji

import android.os.Parcel; //导入方法依赖的package包/类
protected Emoji(Parcel in) {
	emoji = in.readString();
	aliases = in.createStringArrayList();
	emoticons = in.createStringArrayList();
	tags = in.createStringArrayList();
	hexHtml = in.readString();
	decimalHtml = in.readString();
	decimalHtmlShort = in.readString();
	hexHtmlShort = in.readString();
	decimalSurrogateHtml = in.readString();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:12,代码来源:Emoji.java

示例13: TransferResponse

import android.os.Parcel; //导入方法依赖的package包/类
protected TransferResponse(Parcel in) {
        this.pickingID = in.readString();
        this.pickingName = in.readString();
        this.date = in.readString();
        this.pickingState = in.readString();
        this.locationName = in.readString();
        this.locationDestName = in.readString();
//        this.lines = in.createTypedArrayList(TransferDetailResponse.LinesBean.CREATOR);
        this.stateTracker = in.createStringArrayList();
        this.totalPrice = in.readFloat();
        this.totalNum = in.readInt();
        this.isConfirmed = in.readInt()==1;
        this.pickingStateFull = in.readString();
    }
 
开发者ID:ebridfighter,项目名称:GongXianSheng,代码行数:15,代码来源:TransferResponse.java

示例14: Currency

import android.os.Parcel; //导入方法依赖的package包/类
private Currency(Parcel in) {
    this.code = in.readString();
    this.name = in.readString();
    this.symbol = in.readString();
    this.flagId = (Integer) in.readValue(Integer.class.getClassLoader());
    this.countries = in.createTypedArrayList(Country.CREATOR);
    this.countriesNames = in.createStringArrayList();
}
 
开发者ID:Scrounger,项目名称:CountryCurrencyPicker,代码行数:9,代码来源:Currency.java

示例15: Action

import android.os.Parcel; //导入方法依赖的package包/类
protected Action(Parcel in) {
    permissions = in.createStringArrayList();
    action = in.readInt();
    fromIntention = in.readInt();
}
 
开发者ID:Justson,项目名称:AgentWeb,代码行数:6,代码来源:Action.java


注:本文中的android.os.Parcel.createStringArrayList方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。