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


Java Parcel.createTypedArrayList方法代码示例

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


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

示例1: 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

示例2: CircleItem

import android.os.Parcel; //导入方法依赖的package包/类
protected CircleItem(Parcel in) {
    this.address = in.readString();
    this.appointUserNickname = in.readString();
    this.appointUserid = in.readString();
    this.content = in.readString();
    this.createTime = in.readLong();
    this.goodjobCount = in.readInt();
    this.id = in.readString();
    this.isvalid = in.readString();
    this.latitude = in.readDouble();
    this.longitude = in.readDouble();
    this.pictures = in.readString();
    this.replyCount = in.readInt();
    this.type = in.readInt();
    this.icon = in.readString();
    this.userId = in.readString();
    this.nickName = in.readString();
    this.goodjobs = in.createTypedArrayList(FavortItem.CREATOR);
    this.replys = in.createTypedArrayList(CommentItem.CREATOR);
    this.linkImg = in.readString();
    this.linkTitle = in.readString();
    this.takeTimes = in.readInt();
}
 
开发者ID:wp521,项目名称:MyFire,代码行数:24,代码来源:CircleItem.java

示例3: EventPayload

import android.os.Parcel; //导入方法依赖的package包/类
protected EventPayload(Parcel in) {
    this.pushId = in.readString();
    this.size = in.readInt();
    this.distinctSize = in.readInt();
    this.ref = in.readString();
    this.head = in.readString();
    this.before = in.readString();
    this.commits = in.createTypedArrayList(PushEventCommit.CREATOR);
    this.action = in.readString();
    int tmpRefType = in.readInt();
    this.refType = tmpRefType == -1 ? null : RefType.values()[tmpRefType];
    this.masterBranch = in.readString();
    this.description = in.readString();
    this.pusherType = in.readString();
    this.release = in.readParcelable(Release.class.getClassLoader());
    this.issue = in.readParcelable(Issue.class.getClassLoader());
    this.comment = in.readParcelable(IssueEvent.class.getClassLoader());
    this.member = in.readParcelable(User.class.getClassLoader());
    this.organization = in.readParcelable(User.class.getClassLoader());
    this.blockedUser = in.readParcelable(User.class.getClassLoader());
}
 
开发者ID:ThirtyDegreesRay,项目名称:OpenHub,代码行数:22,代码来源:EventPayload.java

示例4: Conference

import android.os.Parcel; //导入方法依赖的package包/类
protected Conference(Parcel in) {
	acronym = in.readString();
	aspectRation = in.readString();
	title = in.readString();
	slug = in.readString();
	webgenLocation = in.readString();
	scheduleUrl = in.readString();
	logoUrl = in.readString();
	imagesUrl = in.readString();
	recordingsUrl = in.readString();
	url = in.readString();
	updatedAt = in.readString();
	events = in.createTypedArrayList(Event.CREATOR);
}
 
开发者ID:NiciDieNase,项目名称:chaosflix,代码行数:15,代码来源:Conference.java

示例5: Studio

import android.os.Parcel; //导入方法依赖的package包/类
protected Studio(Parcel in) {
    id = in.readInt();
    studio_name = in.readString();
    studio_wiki = in.readString();
    favourite = in.readByte() != 0;
    main_studio = in.readInt();
    anime = in.createTypedArrayList(Series.CREATOR);
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:9,代码来源:Studio.java

示例6: readFromParcel

import android.os.Parcel; //导入方法依赖的package包/类
private void readFromParcel(Parcel in) {
    this.id = in.readInt();
    this.name = in.readString();
    this.path = in.readString();
    this.numOfSongs = in.readInt();
    this.songs = in.createTypedArrayList(Song.CREATOR);
    long tmpCreatedAt = in.readLong();
    this.createdAt = tmpCreatedAt == -1 ? null : new Date(tmpCreatedAt);
}
 
开发者ID:xxczaki,项目名称:music-player,代码行数:10,代码来源:Folder.java

示例7: Configuration

import android.os.Parcel; //导入方法依赖的package包/类
protected Configuration(Parcel in) {
    this.endpoints = in.createTypedArrayList(Endpoint.CREATOR);
    this.isWifiCollectionDisabled = in.readByte() != 0;
    this.isDeviceModelCollectionDisabled = in.readByte() != 0;
    this.isDeviceManufacturerCollectionDisabled = in.readByte() != 0;
    this.isOperatingSystemCollectionDisbaled = in.readByte() != 0;
    this.isChargingInfoCollectionDisabled = in.readByte() != 0;
    this.isCarrierNameCollectionDisabled = in.readByte() != 0;
    this.isConnectionTypeCollectionDisabled = in.readByte() != 0;
    this.isLocationMethodCollectionDisabled = in.readByte() != 0;
    this.isLocationContextCollectionDisabled = in.readByte() != 0;
}
 
开发者ID:OpenLocate,项目名称:openlocate-android,代码行数:13,代码来源:OpenLocate.java

示例8: XpNavBarSetting

import android.os.Parcel; //导入方法依赖的package包/类
protected XpNavBarSetting(Parcel in) {
    mShortCutData = in.createTypedArrayList(ShortCut.CREATOR);
    mHomePointPosition = in.readInt();
    mIconSize = in.readInt();
    mRootDown = in.readByte() != 0;
    mClearMenLevel = in.readInt();
    mChameleonNavbar = in.readByte() != 0;
    mNavbarHeight = in.readInt();
    mVibrate = in.readByte() != 0;
}
 
开发者ID:EggUncle,项目名称:XposedNavigationBar,代码行数:11,代码来源:XpNavBarSetting.java

示例9: Favourite

import android.os.Parcel; //导入方法依赖的package包/类
protected Favourite(Parcel in) {
    anime = in.createTypedArrayList(Series.CREATOR);
    manga = in.createTypedArrayList(Series.CREATOR);
    character = in.createTypedArrayList(CharacterSmall.CREATOR);
    staff = in.createTypedArrayList(StaffSmall.CREATOR);
    studio = in.createTypedArrayList(StudioSmall.CREATOR);
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:8,代码来源:Favourite.java

示例10: 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

示例11: AllDataList

import android.os.Parcel; //导入方法依赖的package包/类
protected AllDataList(Parcel in) {
    this.Android = in.createTypedArrayList(Gank.CREATOR);
    this.iOS = in.createTypedArrayList(Gank.CREATOR);
    this.休息视频 = in.createTypedArrayList(Gank.CREATOR);
    this.拓展资源 = in.createTypedArrayList(Gank.CREATOR);
    this.瞎推荐 = in.createTypedArrayList(Gank.CREATOR);
    this.福利 = in.createTypedArrayList(Gank.CREATOR);
}
 
开发者ID:fendoudebb,项目名称:PlayAndroid,代码行数:9,代码来源:AllDataList.java

示例12: GenericEvent

import android.os.Parcel; //导入方法依赖的package包/类
protected GenericEvent(Parcel in) {
    this.id = in.readLong();
    this.url = in.readString();
    this.commitId = in.readString();
    this.commitUrl = in.readString();
    this.message = in.readString();
    this.sha = in.readString();
    this.htmlUrl = in.readString();
    long tmpCreatedAt = in.readLong();
    this.createdAt = tmpCreatedAt == -1 ? null : new Date(tmpCreatedAt);
    this.actor = in.readParcelable(User.class.getClassLoader());
    this.requestedReviewer = in.readParcelable(User.class.getClassLoader());
    this.reviewRequester = in.readParcelable(User.class.getClassLoader());
    this.assigner = in.readParcelable(User.class.getClassLoader());
    this.assignee = in.readParcelable(User.class.getClassLoader());
    this.author = in.readParcelable(User.class.getClassLoader());
    this.committer = in.readParcelable(User.class.getClassLoader());
    this.label = in.readParcelable(Label.class.getClassLoader());
    this.requestedTeam = in.readParcelable(TeamsModel.class.getClassLoader());
    this.milestone = in.readParcelable(MilestoneModel.class.getClassLoader());
    this.rename = in.readParcelable(RenameModel.class.getClassLoader());
    this.source = in.readParcelable(SourceModel.class.getClassLoader());
    this.issue = in.readParcelable(Issue.class.getClassLoader());
    this.pullRequest = in.readParcelable(PullRequest.class.getClassLoader());
    this.tree = in.readParcelable(ParentsModel.class.getClassLoader());
    this.parents = in.createTypedArrayList(ParentsModel.CREATOR);
    int tmpEvent = in.readInt();
    this.event = tmpEvent == -1 ? null : IssueEventType.values()[tmpEvent];
}
 
开发者ID:duyp,项目名称:mvvm-template,代码行数:30,代码来源:GenericEvent.java

示例13: File_POJO

import android.os.Parcel; //导入方法依赖的package包/类
@SuppressWarnings("unchecked")
public File_POJO(Parcel parcel) {
    path = parcel.readString();
    name = parcel.readString();
    isMedia = Boolean.valueOf(parcel.readString());
    children = parcel.createTypedArrayList(CREATOR);
    excluded = Boolean.valueOf(parcel.readString());
}
 
开发者ID:kollerlukas,项目名称:Camera-Roll-Android-App,代码行数:9,代码来源:File_POJO.java

示例14: SavedStateWrapper

import android.os.Parcel; //导入方法依赖的package包/类
protected SavedStateWrapper(Parcel in) {
    this.mActive = in.readInt();
    this.mCrumbs = in.createTypedArrayList(Crumb.CREATOR);
    this.mVisibility = in.readInt();
}
 
开发者ID:h4h13,项目名称:RetroMusicPlayer,代码行数:6,代码来源:BreadCrumbLayout.java

示例15: CategoryItem

import android.os.Parcel; //导入方法依赖的package包/类
protected CategoryItem(Parcel in) {
    this.first_name = in.readString();
    this.first_url = in.readString();
    this.child = in.createTypedArrayList(ChildBean.CREATOR);
}
 
开发者ID:TongmingWu,项目名称:BLPlayer,代码行数:6,代码来源:CategoryItem.java


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