Java Code Examples for android.os.Parcel#writeStringList()

The following examples show how to use android.os.Parcel#writeStringList() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: px-android   File: BusinessPayment.java    License: MIT License 6 votes vote down vote up
@Override
public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeInt(iconId);
    dest.writeString(title);
    dest.writeByte((byte) (shouldShowPaymentMethod ? 1 : 0));
    dest.writeParcelable(exitActionPrimary, flags);
    dest.writeParcelable(exitActionSecondary, flags);
    dest.writeString(decorator.name);
    dest.writeString(help);
    dest.writeString(statementDescription);
    dest.writeString(receiptId);
    dest.writeString(imageUrl);
    dest.writeParcelable(topFragment, 0);
    dest.writeParcelable(bottomFragment, 0);
    dest.writeParcelable(importantFragment, 0);
    dest.writeString(paymentStatus);
    dest.writeString(paymentStatusDetail);
    dest.writeString(subtitle);
    dest.writeString(paymentMethodId);
    dest.writeString(paymentTypeId);
    dest.writeStringList(receiptIdList);
    dest.writeByte((byte) (shouldShowReceipt ? 1 : 0));
}
 
Example 2
Source Project: spark-sdk-android   File: DeviceState.java    License: Apache License 2.0 6 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(deviceId);
    dest.writeValue(name);
    dest.writeValue(isConnected);
    dest.writeStringList(new ArrayList<>(functions));
    Parcelables.writeSerializableMap(dest, variables);
    dest.writeValue(version);
    dest.writeValue(deviceType != null ? deviceType.name() : null);
    dest.writeValue(platformId);
    dest.writeValue(productId);
    dest.writeValue(cellular);
    dest.writeValue(imei);
    dest.writeValue(lastIccid);
    dest.writeValue(currentBuild);
    dest.writeValue(defaultBuild);
    dest.writeValue(ipAddress);
    dest.writeValue(lastAppName);
    dest.writeValue(status);
    dest.writeValue(requiresUpdate);
    dest.writeValue(lastHeard != null ? lastHeard.getTime() : 0);
}
 
Example 3
Source Project: KlyphMessenger   File: Link.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags)
{
	dest.writeString(backdated_time);
	dest.writeByte((byte) (can_backdate ? 1 : 0));
	dest.writeString(caption);
	dest.writeParcelable(comment_info, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(created_time);
	dest.writeStringList(image_urls);
	dest.writeParcelable(like_info, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(link_id);
	dest.writeString(owner);
	dest.writeString(owner_comment);
	dest.writeString(owner_cursor);
	dest.writeString(owner_name);
	dest.writeString(owner_pic);
	dest.writeString(owner_type);
	dest.writeString(picture);
	dest.writeParcelable(privacy, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(summary);
	dest.writeString(title);
	dest.writeString(url);
	dest.writeString(via_id);
	dest.writeString(via_name);
	dest.writeString(via_type);
	dest.writeString(xid);
}
 
Example 4
Source Project: android_9.0.0_r45   File: Voice.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mName);
    dest.writeSerializable(mLocale);
    dest.writeInt(mQuality);
    dest.writeInt(mLatency);
    dest.writeByte((byte) (mRequiresNetworkConnection ? 1 : 0));
    dest.writeStringList(new ArrayList<String>(mFeatures));
}
 
Example 5
Source Project: android-proguards   File: Shot.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(id);
    dest.writeString(title);
    dest.writeString(url);
    dest.writeString(description);
    dest.writeLong(width);
    dest.writeLong(height);
    dest.writeValue(images);
    dest.writeLong(views_count);
    dest.writeLong(likes_count);
    dest.writeLong(comments_count);
    dest.writeLong(attachments_count);
    dest.writeLong(rebounds_count);
    dest.writeLong(buckets_count);
    dest.writeLong(created_at != null ? created_at.getTime() : -1L);
    dest.writeLong(updated_at != null ? updated_at.getTime() : -1L);
    dest.writeString(html_url);
    dest.writeString(attachments_url);
    dest.writeString(buckets_url);
    dest.writeString(comments_url);
    dest.writeString(likes_url);
    dest.writeString(projects_url);
    dest.writeString(rebounds_url);
    dest.writeByte((byte) (animated ? 0x01 : 0x00));
    dest.writeStringList(tags);
    dest.writeValue(user);
    dest.writeValue(team);
    dest.writeByte((byte) (hasFadedIn ? 0x01 : 0x00));
}
 
Example 6
Source Project: NewFastFrame   File: SkinEntity.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(url);
    parcel.writeString(path);
    parcel.writeString(title);
    parcel.writeByte((byte) (hasSelected ? 1 : 0));
    parcel.writeStringList(imageList);
}
 
Example 7
Source Project: CrazyDaily   File: NoteEntity.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(this.id);
    dest.writeStringList(this.images);
    dest.writeString(this.videoUrl);
    dest.writeString(this.text);
    dest.writeByte(this.isCanDownload ? (byte) 1 : (byte) 0);
    dest.writeValue(this.flag);
}
 
Example 8
Source Project: RxZhihuPager   File: StoriesEntity.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.type);
    dest.writeInt(this.id);
    dest.writeString(this.ga_prefix);
    dest.writeString(this.title);
    dest.writeStringList(this.images);
    dest.writeByte(isRead ? (byte) 1 : (byte) 0);
}
 
Example 9
Source Project: Flora   File: News.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this._id);
    dest.writeString(this.createdAt);
    dest.writeString(this.desc);
    dest.writeString(this.publishedAt);
    dest.writeString(this.source);
    dest.writeString(this.type);
    dest.writeString(this.url);
    dest.writeByte(this.used ? (byte) 1 : (byte) 0);
    dest.writeString(this.who);
    dest.writeStringList(this.images);
}
 
Example 10
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.pkgdesc);
    dest.writeStringList(this.depends);
    dest.writeStringList(this.licenses);
    dest.writeString(this.lastUpdate);
    dest.writeString(this.buildDate);
    dest.writeString(this.compressedSize);
    dest.writeString(this.installedSize);
    dest.writeString(this.filename);
    dest.writeString(this.epoch);
    dest.writeStringList(this.provides);
    dest.writeStringList(this.makedepends);
    dest.writeStringList(this.checkdepends);
    dest.writeString(this.repo);
    dest.writeStringList(this.maintainers);
    dest.writeStringList(this.groups);
    dest.writeStringList(this.conflicts);
    dest.writeString(this.packager);
    dest.writeString(this.arch);
    dest.writeString(this.pkgver);
    dest.writeStringList(this.replaces);
    dest.writeString(this.pkgname);
    dest.writeStringList(this.optdepends);
    dest.writeString(this.url);
    dest.writeString(this.pkgbase);
    dest.writeString(this.pkgrel);
    dest.writeString(this.flagDate);
}
 
Example 11
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.pkgdesc);
    dest.writeStringList(this.depends);
    dest.writeStringList(this.licenses);
    dest.writeString(this.lastUpdate);
    dest.writeString(this.buildDate);
    dest.writeString(this.compressedSize);
    dest.writeString(this.installedSize);
    dest.writeString(this.filename);
    dest.writeString(this.epoch);
    dest.writeStringList(this.provides);
    dest.writeStringList(this.makedepends);
    dest.writeStringList(this.checkdepends);
    dest.writeString(this.repo);
    dest.writeStringList(this.maintainers);
    dest.writeStringList(this.groups);
    dest.writeStringList(this.conflicts);
    dest.writeString(this.packager);
    dest.writeString(this.arch);
    dest.writeString(this.pkgver);
    dest.writeStringList(this.replaces);
    dest.writeString(this.pkgname);
    dest.writeStringList(this.optdepends);
    dest.writeString(this.url);
    dest.writeString(this.pkgbase);
    dest.writeString(this.pkgrel);
    dest.writeString(this.flagDate);
}
 
Example 12
Source Project: ImageSelector   File: RequestConfig.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeByte(this.isCrop ? (byte) 1 : (byte) 0);
    dest.writeByte(this.useCamera ? (byte) 1 : (byte) 0);
    dest.writeByte(this.onlyTakePhoto ? (byte) 1 : (byte) 0);
    dest.writeByte(this.isSingle ? (byte) 1 : (byte) 0);
    dest.writeByte(this.canPreview ? (byte) 1 : (byte) 0);
    dest.writeInt(this.maxSelectCount);
    dest.writeStringList(this.selected);
    dest.writeFloat(this.cropRatio);
    dest.writeInt(this.requestCode);
}
 
Example 13
Source Project: GoogleDirectionLibrary   File: Route.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeParcelable(bound, i);
    parcel.writeString(copyrights);
    parcel.writeParcelable(overviewPolyline, i);
    parcel.writeString(summary);
    parcel.writeParcelable(fare, i);
    parcel.writeStringList(warningList);
}
 
Example 14
Source Project: BiodataNabi   File: Nabi.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.nama);
    dest.writeString(this.alias);
    dest.writeString(this.usia);
    dest.writeString(this.periode);
    dest.writeString(this.tempatDiUtus);
    dest.writeString(this.tempatWafat);
    dest.writeString(this.disebutDalamAlquran);
    dest.writeString(this.sebutanKaum);
    dest.writeString(this.jumlahKeturunan);
    dest.writeStringList(this.garisKeturunan);
}
 
Example 15
Source Project: biermacht   File: Hop.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel p, int flags) {
  super.writeToParcel(p, flags);

  // Required
  p.writeDouble(alpha);
  p.writeString(use);

  // Optional
  p.writeString(type);
  p.writeString(form);
  p.writeString(origin);
  p.writeStringList(substitutes);
  p.writeString(description);
}
 
Example 16
Source Project: Klyph   File: Link.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags)
{
	dest.writeString(backdated_time);
	dest.writeByte((byte) (can_backdate ? 1 : 0));
	dest.writeString(caption);
	dest.writeParcelable(comment_info, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(created_time);
	dest.writeStringList(image_urls);
	dest.writeParcelable(like_info, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(link_id);
	dest.writeString(owner);
	dest.writeString(owner_comment);
	dest.writeString(owner_cursor);
	dest.writeString(owner_name);
	dest.writeString(owner_pic);
	dest.writeString(owner_type);
	dest.writeString(picture);
	dest.writeParcelable(privacy, PARCELABLE_WRITE_RETURN_VALUE);
	dest.writeString(summary);
	dest.writeString(title);
	dest.writeString(url);
	dest.writeString(via_id);
	dest.writeString(via_name);
	dest.writeString(via_type);
	dest.writeString(xid);
}
 
Example 17
Source Project: Learning-Rxandroid   File: Student.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeStringList(this.cources);
}
 
Example 18
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringList(this.stringList);
    dest.writeList(this.intList);
}
 
Example 19
Source Project: NovelReader   File: BookSubSortBean.java    License: MIT License 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(major);
    dest.writeStringList(mins);
}
 
Example 20
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeStringList(hwAddresses);
}