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

The following are Jave code examples for showing how to use createTypedArrayList() 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: GongXianSheng   File: ReturnOrderListResponse.java   View Source Code Vote up 6 votes
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();
}
 
Example 2
Project: MyFire   File: CircleItem.java   View Source Code Vote up 6 votes
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();
}
 
Example 3
Project: OpenHub   File: EventPayload.java   View Source Code Vote up 6 votes
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());
}
 
Example 4
Project: chaosflix   File: Conference.java   View Source Code Vote up 5 votes
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);
}
 
Example 5
Project: anitrend-app   File: Studio.java   View Source Code Vote up 5 votes
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);
}
 
Example 6
Project: music-player   File: Folder.java   View Source Code Vote up 5 votes
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);
}
 
Example 7
Project: openlocate-android   File: OpenLocate.java   View Source Code Vote up 5 votes
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;
}
 
Example 8
Project: XposedNavigationBar   File: XpNavBarSetting.java   View Source Code Vote up 5 votes
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;
}
 
Example 9
Project: anitrend-app   File: Favourite.java   View Source Code Vote up 5 votes
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);
}
 
Example 10
Project: Phoenix-for-VK   File: News.java   View Source Code Vote up 5 votes
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();
}
 
Example 11
Project: PlayAndroid   File: AllDataList.java   View Source Code Vote up 5 votes
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);
}
 
Example 12
Project: mvvm-template   File: GenericEvent.java   View Source Code Vote up 5 votes
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];
}
 
Example 13
Project: Camera-Roll-Android-App   File: File_POJO.java   View Source Code Vote up 5 votes
@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());
}
 
Example 14
Project: RetroMusicPlayer   File: BreadCrumbLayout.java   View Source Code Vote up 4 votes
protected SavedStateWrapper(Parcel in) {
    this.mActive = in.readInt();
    this.mCrumbs = in.createTypedArrayList(Crumb.CREATOR);
    this.mVisibility = in.readInt();
}
 
Example 15
Project: BLPlayer   File: CategoryItem.java   View Source Code Vote up 4 votes
protected CategoryItem(Parcel in) {
    this.first_name = in.readString();
    this.first_url = in.readString();
    this.child = in.createTypedArrayList(ChildBean.CREATOR);
}
 
Example 16
Project: OpenHub   File: RepoCommitExt.java   View Source Code Vote up 4 votes
protected RepoCommitExt(Parcel in) {
    super(in);
    this.files = in.createTypedArrayList(CommitFile.CREATOR);
    this.stats = in.readParcelable(CommitStats.class.getClassLoader());
}
 
Example 17
Project: chaosflix   File: ConferencesWrapper.java   View Source Code Vote up 4 votes
protected ConferencesWrapper(Parcel in) {
	conferences = in.createTypedArrayList(Conference.CREATOR);
}
 
Example 18
Project: InstaTag   File: TaggedPhoto.java   View Source Code Vote up 4 votes
private TaggedPhoto(Parcel in) {
    this.id = in.readString();
    this.imageUri = in.readString();
    this.tagToBeTaggeds = in.createTypedArrayList(TagToBeTagged.CREATOR);
}
 
Example 19
Project: mvvm-template   File: PullRequest.java   View Source Code Vote up 4 votes
protected PullRequest(Parcel in) {
    this.id = in.readLong();
    this.url = in.readString();
    this.body = in.readString();
    this.title = in.readString();
    this.comments = in.readInt();
    this.number = in.readInt();
    this.locked = in.readByte() != 0;
    this.mergable = in.readByte() != 0;
    this.merged = in.readByte() != 0;
    this.mergeable = in.readByte() != 0;
    this.commits = in.readInt();
    this.additions = in.readInt();
    this.deletions = in.readInt();
    this.state = in.readString();
    this.bodyHtml = in.readString();
    this.htmlUrl = in.readString();
    long tmpClosedAt = in.readLong();
    this.closedAt = tmpClosedAt == -1 ? null : new Date(tmpClosedAt);
    long tmpCreatedAt = in.readLong();
    this.createdAt = tmpCreatedAt == -1 ? null : new Date(tmpCreatedAt);
    long tmpUpdatedAt = in.readLong();
    this.updatedAt = tmpUpdatedAt == -1 ? null : new Date(tmpUpdatedAt);
    this.changedFiles = in.readInt();
    this.diffUrl = in.readString();
    this.patchUrl = in.readString();
    this.mergeCommitSha = in.readString();
    long tmpMergedAt = in.readLong();
    this.mergedAt = tmpMergedAt == -1 ? null : new Date(tmpMergedAt);
    this.mergeState = in.readString();
    this.reviewComments = in.readInt();
    this.repoId = in.readString();
    this.login = in.readString();

    ArrayList<User> userList = in.createTypedArrayList(User.CREATOR);
    this.assignees = new RealmList<>();
    if (userList != null && !userList.isEmpty()) {
        assignees.addAll(userList);
    }

    this.mergedBy = in.readParcelable(User.class.getClassLoader());
    this.closedBy = in.readParcelable(User.class.getClassLoader());
    this.user = in.readParcelable(User.class.getClassLoader());
    this.assignee = in.readParcelable(User.class.getClassLoader());

    ArrayList<Label> labelList = in.createTypedArrayList(Label.CREATOR);
    this.labels = new RealmList<>();
    if (labelList != null && labelList.size() > 0) {
        this.labels.addAll(labelList);
    }

    this.milestone = in.readParcelable(MilestoneModel.class.getClassLoader());
    this.base = in.readParcelable(Commit.class.getClassLoader());
    this.head = in.readParcelable(Commit.class.getClassLoader());
    this.pullRequest = in.readParcelable(PullRequest.class.getClassLoader());
    this.reactions = in.readParcelable(ReactionsModel.class.getClassLoader());
}
 
Example 20
Project: Custom-Vison-Service   File: IrisData.java   View Source Code Vote up 4 votes
protected IrisData(Parcel in) {
    this.project = in.readString();
    this.iteration = in.readString();
    this.timestamp = in.readString();
    this.classifications = in.createTypedArrayList(Classification.CREATOR);
}