当前位置: 首页>>代码示例>>Java>>正文


Java Parcel.createStringArray方法代码示例

本文整理汇总了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();
}
 
开发者ID:nyris,项目名称:Nyris.IMX.Android,代码行数:21,代码来源:Offer.java

示例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;
}
 
开发者ID:Akari10032,项目名称:12306_Android,代码行数:18,代码来源:QueryParam.java

示例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());
}
 
开发者ID:SebastianRask,项目名称:Pocket-Plays-for-Twitch,代码行数:19,代码来源:StreamInfo.java

示例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();
}
 
开发者ID:uhuru-mobile,项目名称:mobile-store,代码行数:32,代码来源:Apk.java

示例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();
}
 
开发者ID:codehz,项目名称:container,代码行数:16,代码来源:SessionParams.java

示例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);
}
 
开发者ID:RikkaApps,项目名称:FontProvider,代码行数:11,代码来源:FontInfo.java

示例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);
}
 
开发者ID:sid24rane,项目名称:Personal-Chef,代码行数:12,代码来源:Recipe.java

示例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());
  }
}
 
开发者ID:sanjaysingh1990,项目名称:Exoplayer2Radio,代码行数:13,代码来源:ChapterTocFrame.java

示例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();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:28,代码来源:Relations.java

示例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();
}
 
开发者ID:LightSun,项目名称:data-mediator,代码行数:10,代码来源:ResultData.java

示例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();
}
 
开发者ID:uhuru-mobile,项目名称:mobile-store,代码行数:51,代码来源:App.java

示例12: FileUploadMsgConfig

import android.os.Parcel; //导入方法依赖的package包/类
protected FileUploadMsgConfig(Parcel in) {
    medias = in.createStringArray();
    maxFileLengthLimit = in.readString();
    loading=in.readString();
}
 
开发者ID:Justson,项目名称:AgentWeb,代码行数:6,代码来源:DefaultMsgConfig.java

示例13: Action

import android.os.Parcel; //导入方法依赖的package包/类
protected Action(Parcel in) {
    permissions = in.createStringArray();
    action = in.readInt();
    fromIntention = in.readInt();
}
 
开发者ID:Justson,项目名称:AgentWebX5,代码行数:6,代码来源:ActionActivity.java

示例14: KeyValueTemp

import android.os.Parcel; //导入方法依赖的package包/类
protected KeyValueTemp(Parcel in) {
    values = in.createFloatArray();
    keys = in.createStringArray();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:5,代码来源:KeyValueTemp.java

示例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();
}
 
开发者ID:wax911,项目名称:anitrend-app,代码行数:49,代码来源:Series.java


注:本文中的android.os.Parcel.createStringArray方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。