當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。