本文整理汇总了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();
}
示例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();
}
示例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());
}
示例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);
}
示例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);
}
示例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);
}
示例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;
}
示例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;
}
示例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);
}
示例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();
}
示例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);
}
示例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];
}
示例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());
}
示例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();
}
示例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);
}