本文整理汇总了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;
}
}
示例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;
}
}
示例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();
}
示例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();
}
示例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;
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例15: Action
import android.os.Parcel; //导入方法依赖的package包/类
protected Action(Parcel in) {
permissions = in.createStringArrayList();
action = in.readInt();
fromIntention = in.readInt();
}