本文整理汇总了Java中android.os.Parcel.createStringArray方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.createStringArray方法的具体用法?Java Parcel.createStringArray怎么用?Java Parcel.createStringArray使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android.os.Parcel
的用法示例。
在下文中一共展示了Parcel.createStringArray方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: Offer
import android.os.Parcel; //导入方法依赖的package包/类
protected Offer(Parcel in) {
title = in.readString();
description = in.readString();
descriptionLong = in.readString();
language = in.readString();
brand = in.readString();
catalogNumbers = in.createFloatArray();
customIds = in.readParcelable(CustomIds.class.getClassLoader());
keywords = in.createStringArray();
categories = in.createStringArray();
availability = in.readString();
groupId = in.readString();
price = in.readString();
salePrice = in.readString();
links = in.readParcelable(Links.class.getClassLoader());
images = in.createStringArray();
metadata = in.readString();
sku = in.readString();
score = in.readFloat();
}
示例2: createFromParcel
import android.os.Parcel; //导入方法依赖的package包/类
@Override
public QueryParam createFromParcel(Parcel source) {
QueryParam queryParam = new QueryParam();
queryParam.url = source.readString();
queryParam.from_station_code = source.readString();
queryParam.to_station_code = source.readString();
queryParam.from_station = source.readString();
queryParam.to_station = source.readString();
queryParam.train_code = source.readString();
queryParam.train_date = source.readString();
queryParam.back_train_date = source.readString();
queryParam.purpose_codes = source.readString();
queryParam.seats = source.createStringArray();
queryParam.date2 = source.createStringArray();
queryParam.passenger = source.readString();
return queryParam;
}
示例3: StreamInfo
import android.os.Parcel; //导入方法依赖的package包/类
public StreamInfo(Parcel in) {
String[] stringsData = in.createStringArray();
int[] intData = in.createIntArray();
if (stringsData.length == 2) {
this.game = stringsData[0];
this.title = stringsData[1];
}
if (intData.length == 2) {
this.currentViewers = intData[0];
this.priority = intData[1];
}
this.startedAt = in.readLong();
this.previews =in.createStringArray();
this.channelInfo = in.readParcelable(StreamInfo.class.getClassLoader());
}
示例4: Apk
import android.os.Parcel; //导入方法依赖的package包/类
protected Apk(Parcel in) {
this.packageName = in.readString();
this.versionName = in.readString();
this.versionCode = in.readInt();
this.size = in.readInt();
this.repoId = in.readLong();
this.hash = in.readString();
this.hashType = in.readString();
this.minSdkVersion = in.readInt();
this.targetSdkVersion = in.readInt();
this.maxSdkVersion = in.readInt();
this.obbMainFile = in.readString();
this.obbMainFileSha256 = in.readString();
this.obbPatchFile = in.readString();
this.obbPatchFileSha256 = in.readString();
long tmpAdded = in.readLong();
this.added = tmpAdded == -1 ? null : new Date(tmpAdded);
this.requestedPermissions = in.createStringArray();
this.features = in.createStringArray();
this.nativecode = in.createStringArray();
this.sig = in.readString();
this.compatible = in.readByte() != 0;
this.apkName = in.readString();
this.installedFile = (SanitizedFile) in.readSerializable();
this.srcname = in.readString();
this.repoVersion = in.readInt();
this.repoAddress = in.readString();
this.incompatibleReasons = in.createStringArray();
this.antiFeatures = in.createStringArray();
this.appId = in.readLong();
}
示例5: SessionParams
import android.os.Parcel; //导入方法依赖的package包/类
protected SessionParams(Parcel in) {
this.mode = in.readInt();
this.installFlags = in.readInt();
this.installLocation = in.readInt();
this.sizeBytes = in.readLong();
this.appPackageName = in.readString();
this.appIcon = in.readParcelable(Bitmap.class.getClassLoader());
this.appLabel = in.readString();
this.appIconLastModified = in.readLong();
this.originatingUri = in.readParcelable(Uri.class.getClassLoader());
this.referrerUri = in.readParcelable(Uri.class.getClassLoader());
this.abiOverride = in.readString();
this.volumeUuid = in.readString();
this.grantedRuntimePermissions = in.createStringArray();
}
示例6: FontInfo
import android.os.Parcel; //导入方法依赖的package包/类
private FontInfo(Parcel in) {
this.name = in.readString();
this.variant = in.readString();
this.language = in.createStringArray();
this.ttc_index = in.createIntArray();
this.size = in.readString();
this.preview_text = in.createStringArray();
this.url_prefix = in.readString();
this.style = in.createTypedArray(Style.CREATOR);
}
示例7: Recipe
import android.os.Parcel; //导入方法依赖的package包/类
protected Recipe(Parcel in) {
name = in.readString();
img = in.readString();
desc = in.readString();
category = in.readString();
cusine = in.readString();
ingridient = in.createStringArray();
rating = in.readInt();
url = in.readString();
// nutrition = in.readTypedObject(Nutrition);
}
示例8: ChapterTocFrame
import android.os.Parcel; //导入方法依赖的package包/类
ChapterTocFrame(Parcel in) {
super(ID);
this.elementId = in.readString();
this.isRoot = in.readByte() != 0;
this.isOrdered = in.readByte() != 0;
this.children = in.createStringArray();
int subFrameCount = in.readInt();
subFrames = new Id3Frame[subFrameCount];
for (int i = 0; i < subFrameCount; i++) {
subFrames[i] = in.readParcelable(Id3Frame.class.getClassLoader());
}
}
示例9: Relations
import android.os.Parcel; //导入方法依赖的package包/类
protected Relations(Parcel in) {
id = in.readInt();
series_type = in.readString();
title_romaji = in.readString();
title_english = in.readString();
title_japanese = in.readString();
type = in.readString();
start_date_fuzzy = in.readInt();
end_date_fuzzy = in.readInt();
synonyms = in.createStringArray();
genres = in.createStringArray();
adult = in.readByte() != 0;
average_score = in.readDouble();
popularity = in.readInt();
image_url_sml = in.readString();
image_url_med = in.readString();
image_url_lge = in.readString();
image_url_banner = in.readString();
updated_at = in.readLong();
total_chapters = in.readInt();
total_episodes = in.readInt();
total_volumes = in.readInt();
airing_status = in.readString();
publishing_status = in.readString();
relation_type = in.readString();
link_id = in.readInt();
}
示例10: ResultData
import android.os.Parcel; //导入方法依赖的package包/类
protected ResultData(Parcel in) {
this.intergers = new ArrayList<Integer>();
in.readList(this.intergers, Integer.class.getClassLoader());
this.characters = new ArrayList<Character>();
in.readList(this.characters, Character.class.getClassLoader());
this.intents = in.createTypedArrayList(Intent.CREATOR);
this.testStrs = in.createStringArray();
this.strs = in.createStringArrayList();
}
示例11: App
import android.os.Parcel; //导入方法依赖的package包/类
protected App(Parcel in) {
this.compatible = in.readByte() != 0;
this.packageName = in.readString();
this.name = in.readString();
this.repoId = in.readLong();
this.summary = in.readString();
this.icon = in.readString();
this.description = in.readString();
this.whatsNew = in.readString();
this.license = in.readString();
this.authorName = in.readString();
this.authorEmail = in.readString();
this.webSite = in.readString();
this.issueTracker = in.readString();
this.sourceCode = in.readString();
this.video = in.readString();
this.changelog = in.readString();
this.donate = in.readString();
this.bitcoin = in.readString();
this.litecoin = in.readString();
this.flattrID = in.readString();
this.preferredSigner = in.readString();
this.upstreamVersionName = in.readString();
this.upstreamVersionCode = in.readInt();
this.suggestedVersionName = in.readString();
this.suggestedVersionCode = in.readInt();
long tmpAdded = in.readLong();
this.added = tmpAdded == -1 ? null : new Date(tmpAdded);
long tmpLastUpdated = in.readLong();
this.lastUpdated = tmpLastUpdated == -1 ? null : new Date(tmpLastUpdated);
this.categories = in.createStringArray();
this.antiFeatures = in.createStringArray();
this.requirements = in.createStringArray();
this.iconUrl = in.readString();
this.iconUrlLarge = in.readString();
this.featureGraphic = in.readString();
this.promoGraphic = in.readString();
this.tvBanner = in.readString();
this.phoneScreenshots = in.createStringArray();
this.sevenInchScreenshots = in.createStringArray();
this.tenInchScreenshots = in.createStringArray();
this.tvScreenshots = in.createStringArray();
this.wearScreenshots = in.createStringArray();
this.isApk = in.readByte() != 0;
this.installedVersionName = in.readString();
this.installedVersionCode = in.readInt();
this.installedApk = in.readParcelable(Apk.class.getClassLoader());
this.installedSig = in.readString();
this.id = in.readLong();
}
示例12: FileUploadMsgConfig
import android.os.Parcel; //导入方法依赖的package包/类
protected FileUploadMsgConfig(Parcel in) {
medias = in.createStringArray();
maxFileLengthLimit = in.readString();
loading=in.readString();
}
示例13: Action
import android.os.Parcel; //导入方法依赖的package包/类
protected Action(Parcel in) {
permissions = in.createStringArray();
action = in.readInt();
fromIntention = in.readInt();
}
示例14: KeyValueTemp
import android.os.Parcel; //导入方法依赖的package包/类
protected KeyValueTemp(Parcel in) {
values = in.createFloatArray();
keys = in.createStringArray();
}
示例15: Series
import android.os.Parcel; //导入方法依赖的package包/类
protected Series(Parcel in) {
id = in.readInt();
series_type = in.readString();
title_romaji = in.readString();
title_english = in.readString();
title_japanese = in.readString();
type = in.readString();
start_date = in.readString();
end_date = in.readString();
start_date_fuzzy = in.readInt();
end_date_fuzzy = in.readInt();
season = in.readInt();
description = in.readString();
synonyms = in.createStringArray();
genres = in.createStringArray();
adult = in.readByte() != 0;
average_score = in.readDouble();
popularity = in.readInt();
favourite = in.readByte() != 0;
image_url_sml = in.readString();
image_url_med = in.readString();
image_url_lge = in.readString();
image_url_banner = in.readString();
updated_at = in.readLong();
list_stats = in.readParcelable(SeriesListStats.class.getClassLoader());
total_chapters = in.readInt();
total_volumes = in.readInt();
publishing_status = in.readString();
total_episodes = in.readInt();
duration = in.readInt();
airing_status = in.readString();
youtube_id = in.readString();
hashtag = in.readString();
source = in.readString();
characters = in.createTypedArrayList(CharacterSmall.CREATOR);
staff = in.createTypedArrayList(StaffSmall.CREATOR);
rankings = in.createTypedArrayList(Rank.CREATOR);
studio = in.createTypedArrayList(StudioSmall.CREATOR);
external_links = in.createTypedArrayList(ExternalLink.CREATOR);
relations = in.createTypedArrayList(Relations.CREATOR);
relations_manga = in.createTypedArrayList(Relations.CREATOR);
relations_anime = in.createTypedArrayList(Relations.CREATOR);
tags = in.createTypedArrayList(Tag.CREATOR);
reviews = in.createTypedArrayList(Review.CREATOR);
airing = in.readParcelable(Airing.class.getClassLoader());
classification = in.readString();
score_distribution = (HashMap<Integer, Integer>) in.readSerializable();
}